# MessageLongClickPopup

public class MessageLongClickPopup

消息长按操作弹窗，使用 PopupWindow 实现，支持图标显示

## Constructors

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

## Types

OptionItem
Link copied to clipboard
public class OptionItem

## Functions

dismiss
Link copied to clipboard
public void dismiss()
关闭弹窗
isShowing
Link copied to clipboard
public boolean isShowing()
判断弹窗是否正在显示
newInstance
Link copied to clipboard
public static MessageLongClickPopup newInstance(Context context, List<MessageLongClickPopup.OptionItem> items)
setAnchorView
Link copied to clipboard
public MessageLongClickPopup setAnchorView(View anchorView)
设置锚点视图，弹窗将显示在锚点视图上方
setOnDismissListener
Link copied to clipboard
public void setOnDismissListener(OnDismissListener listener)
设置 dismiss 监听器
setOptionsPopupDialogListener
Link copied to clipboard
public MessageLongClickPopup setOptionsPopupDialogListener(OnOptionsItemClickedListener itemListener)
设置点击监听器
show
Link copied to clipboard
public void show()
显示弹窗