Interface IEmoticonTab

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Drawable obtainTabDrawable(Context context) Creates the small icon for the tab, displayed in the tab bar.
      abstract View obtainTabPager(Context context, ViewGroup parent) Creates the tab page view.
      abstract void onTableSelected(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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • 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.