Class EmojiTab
-
- All Implemented Interfaces:
-
ai.nexconn.chatui.channel.extension.component.emoticon.IEmoticonTab
public class EmojiTab implements IEmoticonTab
-
-
Constructor Summary
Constructors Constructor Description EmojiTab()
-
Method Summary
Modifier and Type Method Description DrawableobtainTabDrawable(Context context)Creates the small icon for the tab, displayed in the tab bar. ViewobtainTabPager(Context context, ViewGroup viewGroup)Creates the tab page view. voidonTableSelected(int position)Called when the emoticon panel is swiped left or right. LiveData<String>getEditInfo()Returns the update information for the input field corresponding to this tab page. -
-
Method Detail
-
obtainTabDrawable
Drawable obtainTabDrawable(Context context)
Creates the small icon for the tab, displayed in the tab bar.
- Parameters:
context- Application context.- Returns:
The tab icon drawable; must not be null.
-
obtainTabPager
View obtainTabPager(Context context, ViewGroup viewGroup)
Creates the tab page view.
- Parameters:
context- Application context.- Returns:
The constructed tab view; must not be null.
-
onTableSelected
void onTableSelected(int position)
Called when the emoticon panel is swiped left or right.
- Parameters:
position- The current tab position.
-
getEditInfo
LiveData<String> getEditInfo()
Returns the update information for the input field corresponding to this tab page.
- Returns:
LiveData for input to the EditText.
-
-
-
-