MessageLongClickPopup

Message long-press popup, implemented using PopupWindow with icon support

Constructors

Link copied to clipboard
public void MessageLongClickPopup(Context context, List<MessageLongClickPopup.OptionItem> items)

Types

Link copied to clipboard
public class OptionItem

Functions

Link copied to clipboard
public void dismiss()
Dismiss the popup
Link copied to clipboard
public boolean isShowing()
Check whether the popup is currently showing
Link copied to clipboard
public static MessageLongClickPopup newInstance(Context context, List<MessageLongClickPopup.OptionItem> items)
Link copied to clipboard
public MessageLongClickPopup setAnchorView(View anchorView)
Set the anchor view; the popup will appear above it
Link copied to clipboard
public void setOnDismissListener(OnDismissListener listener)
Set the dismiss listener
Link copied to clipboard
public MessageLongClickPopup setOptionsPopupDialogListener(OnOptionsItemClickedListener itemListener)
Set the click listener
Link copied to clipboard
public void show()
Show the popup