All Projects → llwl1982 → EmoticonsBoard

llwl1982 / EmoticonsBoard

Licence: other
Function keyboard and emotions. Android表情键盘,可动态更新表情。

Programming Languages

java
68154 projects - #9 most used programming language
kotlin
9241 projects

Projects that are alternatives of or similar to EmoticonsBoard

Ppstickerkeyboard
iOS 表情键盘
Stars: ✭ 377 (+1116.13%)
Mutual labels:  emoji, keyboard, emotion
EasyEmoji
Help developers to quickly realize the expression of the keyboard
Stars: ✭ 24 (-22.58%)
Mutual labels:  emoji, keyboard
EmojiReader
A simple tool to recognize Emoji in string. (JavaScript & Java)
Stars: ✭ 61 (+96.77%)
Mutual labels:  emoji, emoticon
Keyboardkit
KeyboardKit is a Swift library that helps you create custom keyboard extensions for iOS and ipadOS.
Stars: ✭ 438 (+1312.9%)
Mutual labels:  emoji, keyboard
ChineseBQB-client
🤣 开源表情包小程序
Stars: ✭ 81 (+161.29%)
Mutual labels:  emoji, emoticon
uni-chat
uni-app + vue3.0 + typescript + vue-cli 仿手机QQ聊天 qq表情包
Stars: ✭ 55 (+77.42%)
Mutual labels:  emoji, qq
Android Slidingemojikeyboard
Our Sliding Emoji Keyboard app.
Stars: ✭ 286 (+822.58%)
Mutual labels:  emoji, keyboard
Qq Wechat Emotion Parser
QQ、微信表情符号解析:字符串到图片URL
Stars: ✭ 82 (+164.52%)
Mutual labels:  emoji, qq
Emojikeyboard
自定义表情键盘(支持系统表情, 图片表情),仅供参考学习~
Stars: ✭ 33 (+6.45%)
Mutual labels:  emoji, keyboard
Sodieremojikeyboardplus
支持自定义emoji表情,icon font , FontAwesome,斜体,超链接,粗体,下划线,字体,颜色,镂空字体等富文本
Stars: ✭ 14 (-54.84%)
Mutual labels:  emoji, keyboard
react-native-emoji-input
A fully-featured emoji keyboard ⌨️ for React Native ⚛️
Stars: ✭ 67 (+116.13%)
Mutual labels:  emoji, keyboard
React Native Emoticons
react native emoticons(表情), including emoji😁
Stars: ✭ 119 (+283.87%)
Mutual labels:  emoji, keyboard
KeyboardKitPro
KeyboardKit Pro extends KeyboardKit with pro features.
Stars: ✭ 42 (+35.48%)
Mutual labels:  emoji, keyboard
EmojiKeyBoard
自定义表情键盘(支持系统表情, 图片表情),仅供参考学习~
Stars: ✭ 36 (+16.13%)
Mutual labels:  emoji, keyboard
Agemojikeyboard
Emoji Keyboard for iOS
Stars: ✭ 686 (+2112.9%)
Mutual labels:  emoji, keyboard
Android Keyboard
Android Keyboard with 180+ dictionaries. Support swipe input (sliding input), Emoji keyboard, AI predictions, dictionaries downloading, and keyboard themes.
Stars: ✭ 108 (+248.39%)
Mutual labels:  emoji, keyboard
emoticon
List of emoticons
Stars: ✭ 41 (+32.26%)
Mutual labels:  emoji, emoticon
spring-keyframes
✌️1.4kb library to generate css keyframes in css-in-js based on a spring algorithm, with emotion
Stars: ✭ 65 (+109.68%)
Mutual labels:  emotion
MacOS-All-In-One-Update-Script
Mac update shell script (Appstore, macOS, Homebrew and others)
Stars: ✭ 39 (+25.81%)
Mutual labels:  update
electronic-moji
😱 🙀 😎
Stars: ✭ 37 (+19.35%)
Mutual labels:  emoji

EmoticonsBoard

受XhsEmoticonsKeyboard的启发,重新设计了框架,添加了动态更新表情包的功能。使用EmoticonPacksAdapter,可以轻松的增减表情。

新增代码使用Kotlin开发。

Art

Gradle Dependency

allprojects {
    repositories {
        jcenter()
    }
}

and:

dependencies { 
    compile 'im.ll:emoticonsboard:1.0.0'
}

Struct

EmoticonsBoard通过设置EmoticonPacksAdapter来展示表情。EmoticonPacksAdapter包含了一个EmoticonPack的列表,用来承载表情数据。每个EmoticonPack代表了一个表情集合。PageFactory用来创建展示表情的View,表情是以Page的形式展示的。 通过自定义不同的PageFactory就可以以不同方式展示表情。

Samples Usage

XML

<github.ll.emotionboard.EmoticonsBoard xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical">

        <ListView
            android:layout_width="match_parent"
            android:layout_height="match_parent"/>
    </LinearLayout>

</github.ll.emotionboard.EmoticonsBoard>

EmoticonsBoard can only has one child view

Set Adapter

Java code:

EmoticonsBoard ekBar;

List<EmoticonPack> packs = new ArrayList<EmoticonPack>;
init packs...

EmoticonPacksAdapter adapter = new EmoticonPacksAdapter(packs);
ekBar.setAdapter(adapter);

For details refer to the demo source

Update data

Art

Kotlin code:

private var adapter: EmoticonPacksAdapter? = null
private lateinit var mEmojiPack: EmoticonPack<Emoticon>
...
val emoticon = Emoticon()
emoticon.code = "new emoji"
emoticon.uri = "xxx"

mEmojiPack.emoticons.add(emoticon)
mEmojiPack.emoticons.add(emoticon)
mEmojiPack.isDataChanged = true
adapter?.notifyDataSetChanged()

Make modified emoticonPack's isDataChanged to true is very important

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].