Search in sources :

Example 1 with EmoticonsKeyBoardPopWindow

use of sj.keyboard.EmoticonsKeyBoardPopWindow in project XhsEmoticonsKeyboard by w446108264.

the class SimpleCommentActivity method initKeyBoardPopWindow.

private void initKeyBoardPopWindow() {
    mKeyBoardPopWindow = new EmoticonsKeyBoardPopWindow(SimpleCommentActivity.this);
    EmoticonClickListener emoticonClickListener = SimpleCommonUtils.getCommonEmoticonClickListener(etContent);
    PageSetAdapter pageSetAdapter = new PageSetAdapter();
    SimpleCommonUtils.addEmojiPageSetEntity(pageSetAdapter, this, emoticonClickListener);
    SimpleCommonUtils.addXhsPageSetEntity(pageSetAdapter, this, emoticonClickListener);
    mKeyBoardPopWindow.setAdapter(pageSetAdapter);
}
Also used : EmoticonClickListener(sj.keyboard.interfaces.EmoticonClickListener) PageSetAdapter(sj.keyboard.adpater.PageSetAdapter) EmoticonsKeyBoardPopWindow(sj.keyboard.EmoticonsKeyBoardPopWindow)

Aggregations

EmoticonsKeyBoardPopWindow (sj.keyboard.EmoticonsKeyBoardPopWindow)1 PageSetAdapter (sj.keyboard.adpater.PageSetAdapter)1 EmoticonClickListener (sj.keyboard.interfaces.EmoticonClickListener)1