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;
 }
 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;
 }