# MessageItemLongClickActionManager

public class MessageItemLongClickActionManager

Created by jiangecho on 2017/3/17.

## Properties

messageItemLongClickActions
Link copied to clipboard
public List<MessageItemLongClickAction> messageItemLongClickActions

## Functions

addMessageItemLongClickAction
Link copied to clipboard
public void addMessageItemLongClickAction(MessageItemLongClickAction action)
public void addMessageItemLongClickAction(MessageItemLongClickAction action, int index)
getInstance
Link copied to clipboard
public static MessageItemLongClickActionManager getInstance()
getLongClickDialog
Link copied to clipboard
public OptionsPopupDialog getLongClickDialog()
getLongClickMessage
Link copied to clipboard
public Message getLongClickMessage()
getMessageItemLongClickActions
Link copied to clipboard
public List<MessageItemLongClickAction> getMessageItemLongClickActions()
public List<MessageItemLongClickAction> getMessageItemLongClickActions(UiMessage uiMessage)
本方法应当只能被ItemProvider调用, 如果想修改默认的长按弹出菜单，请调用getMessageItemLongClickActions()
removeMessageItemLongClickAction
Link copied to clipboard
public void removeMessageItemLongClickAction(MessageItemLongClickAction action)
setLongClickDialog
Link copied to clipboard
public void setLongClickDialog(OptionsPopupDialog dialog)
setLongClickMessage
Link copied to clipboard
public void setLongClickMessage(Message message)