I am Replacing 2 Fragments One After another, and both fragments have different option menus. When I replace 2nd fragment it is showing menus of 1st fragment also. setHasOptionMenu(true); has set in both fragments.
I want to show only that option menu I am creating in particular fragment and Want to Avoid options of other fragments.
please help, Thanks