- menu
- The options menu in which you place your items.
Documentation for this section has not yet been entered.
Initialize the contents of the Activity's standard options menu. You should place your menu items in to menu.
This is only called once, the first time the options menu is displayed. To update the menu every time it is displayed, see Activity.OnPrepareOptionsMenu(Android.Views.IMenu).
The default implementation populates the menu with standard system menu items. These are placed in the Android.Views.Menu.CATEGORY_SYSTEM group so that they will be correctly ordered with application-defined menu items. Deriving classes should always call through to the base implementation.
You can safely hold on to menu (and any items created from it), making modifications to it as desired, until the next time onCreateOptionsMenu() is called.
When you add items to the menu, you can implement the Activity's Activity.OnOptionsItemSelected(Android.Views.IMenuItem) method to handle them there.