Code example for ListFragment

Methods: onCreateOptionsMenu

0
    super.onDetach(); 
  } 
 
  @Override 
  public final void onCreateOptionsMenu(android.view.Menu menu, android.view.MenuInflater inflater) {
    onCreateOptionsMenu(new MenuWrapper(menu), mActivity.getSupportMenuInflater());
  } 
 
  @Override 
  public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {
    //Nothing to see here. 
  } 
 
  @Override 
  public final void onPrepareOptionsMenu(android.view.Menu menu) {
    onPrepareOptionsMenu(new MenuWrapper(menu));
  } 
 
  @Override 
  public void onPrepareOptionsMenu(Menu menu) {
    //Nothing to see here.