Class EmojiTab

  • All Implemented Interfaces:
    ai.nexconn.chatui.channel.extension.component.emoticon.IEmoticonTab

    
    public class EmojiTab
     implements IEmoticonTab
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      EmojiTab()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

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

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

      • EmojiTab

        EmojiTab()
    • 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.