Interface IClickActions

    • 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 obtainDrawable(Context context) Gets the icon for the click button.
      abstract void onClick(Fragment curFragment) Icon button click event.
      abstract boolean filter(UiMessage message) UIMessage filter.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • obtainDrawable

         abstract Drawable obtainDrawable(Context context)

        Gets the icon for the click button.

        Parameters:
        context - Context.
        Returns:

        The button's Drawable. For highlight/grey states, return a selector type that displays different drawables for enabled/disabled states.

      • onClick

         abstract void onClick(Fragment curFragment)

        Icon button click event.

        Parameters:
        curFragment - Current Fragment.
      • filter

         abstract boolean filter(UiMessage message)

        UIMessage filter.

        Parameters:
        message - The message.
        Returns:

        Returns true to show the action.