Пример #1
0
 public virtual void onClick(android.view.View v)
 {
     if (mItemInvoker != null)
     {
         mItemInvoker.invokeItem(mItemData);
     }
 }
Пример #2
0
 public override bool performClick()
 {
     // Let the view's click listener have top priority (the More button relies on this)
     if (base.performClick())
     {
         return(true);
     }
     if ((mItemInvoker != null) && (mItemInvoker.invokeItem(mItemData)))
     {
         playSoundEffect(android.view.SoundEffectConstants.CLICK);
         return(true);
     }
     else
     {
         return(false);
     }
 }