- intent
- The Intent to associated with the item. This Intent object is not copied, so be careful not to modify it later.
Documentation for this section has not yet been entered.
Change the Intent associated with this item. By default there is no Intent associated with a menu item. If you set one, and nothing else handles the item, then the default behavior will be to call Android.Content.Context.StartActivity(Android.Content.Intent) with the given Intent.
Note that setIntent() can not be used with the versions of Menu.add(int) that take a Runnable, because Java.Lang.IRunnable.Run does not return a value so there is no way to tell if it handled the item. In this case it is assumed that the Runnable always handles the item, and the intent will never be started.