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