This is just a stub so we can set the id. In the long run we should really read in the full menu item and use it.
Inheritance: IMenuItem
コード例 #1
0
 public MenuItemActionBarAction(Context context, Activity activity, int menuId, int drawable, int popupId)
 {
     mDrawable    = drawable;
     mContext     = context;
     m_Activity   = activity;
     MenuItemId   = menuId;
     m_MenuItem   = new ActionBarMenuItem(menuId, Handle);
     PopUpMessage = popupId;
 }
コード例 #2
0
 public MenuItemActionBarAction(Context context, Activity activity, int menuId, int drawable, int popupId)
 {
     mDrawable = drawable;
     mContext = context;
     m_Activity = activity;
     MenuItemId = menuId;
     m_MenuItem = new ActionBarMenuItem(menuId, Handle);
     PopUpMessage = popupId;
 }