List of usage examples for android.app Fragment performPrepareOptionsMenu
boolean performPrepareOptionsMenu(Menu menu)
From source file:android.app.FragmentManager.java
public boolean dispatchPrepareOptionsMenu(Menu menu) { boolean show = false; if (mAdded != null) { for (int i = 0; i < mAdded.size(); i++) { Fragment f = mAdded.get(i); if (f != null) { if (f.performPrepareOptionsMenu(menu)) { show = true;// w w w. jav a2s . c o m } } } } return show; }