/** 点击事件的定义 */ private MessageOperatePopup getPopMenu( ViewGroup parent, MessageOperatePopup.OnItemClickListener listener) { MessageOperatePopup popupView = MessageOperatePopup.instance(ctx, parent); currentPop = popupView; popupView.setOnItemClickListener(listener); return popupView; }
/** 临时处理,一定要干掉 */ public void hidePopup() { if (currentPop != null) { currentPop.hidePopup(); } }