Interface IEmoticonTab
-
- All Implemented Interfaces:
public interface IEmoticonTab
-
-
Method Summary
Modifier and Type Method Description abstract DrawableobtainTabDrawable(Context context)Creates the small icon for the tab, displayed in the tab bar. abstract ViewobtainTabPager(Context context, ViewGroup parent)Creates the tab page view. abstract voidonTableSelected(int position)Called when the emoticon panel is swiped left or right. abstract LiveData<String>getEditInfo()Returns the update information for the input field corresponding to this tab page. -
-
Method Detail
-
obtainTabDrawable
abstract 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
abstract View obtainTabPager(Context context, ViewGroup parent)
Creates the tab page view.
- Parameters:
context- Application context.parent- ViewGroup.- Returns:
The constructed tab view; must not be null.
-
onTableSelected
abstract void onTableSelected(int position)
Called when the emoticon panel is swiped left or right.
- Parameters:
position- The current tab position.
-
getEditInfo
abstract LiveData<String> getEditInfo()
Returns the update information for the input field corresponding to this tab page.
- Returns:
LiveData for input to the EditText.
-
-
-
-