MessageLongClickItem

public interface MessageLongClickItem

Contract interface for message long-press menu items. The order in the List determines the menu display order.

Functions

Link copied to clipboard
public abstract int getIconAttrResId()
Menu item icon attr resId; pass 0 to hide the icon.
Link copied to clipboard
public abstract String getTitle(Context context)
Menu item title.
Link copied to clipboard
public abstract boolean isEnabled(UiMessage message)
Whether this menu item is visible for the current message; false filters it out.
Link copied to clipboard
public abstract boolean onAction(Context context, UiMessage message)
Action to execute when the user taps this menu item; return true if consumed.