MenuBuilder_Delegatepublic class MenuBuilder_Delegate extends Object Delegate used to provide new implementation of a select few methods of {@link MenuBuilder}
Through the layoutlib_create tool, the original methods of {@code MenuBuilder} have been
replaced by calls to methods of the same name in this delegate class. |
Methods Summary |
---|
static MenuItemImpl | createNewMenuItem(MenuBuilder thisMenu, int group, int id, int categoryOrder, int ordering, java.lang.CharSequence title, int defaultShowAsAction)The method overrides the instantiation of the {@link MenuItemImpl} with an instance of
{@link BridgeMenuItemImpl} so that view cookies may be stored.
return new BridgeMenuItemImpl(thisMenu, group, id, categoryOrder, ordering, title,
defaultShowAsAction);
|
|