Answers for "onCreateOptionsMenu in fragment with menu id"

1

onCreateOptionsMenu for fragment

@Override
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {
    inflater.inflate(R.menu.menu_sample, menu);
    super.onCreateOptionsMenu(menu,inflater);
}
Posted by: Guest on May-12-2020

Code answers related to "onCreateOptionsMenu in fragment with menu id"

Browse Popular Code Answers by Language