Answers for "get id in oncreateoptionsmenu fragment"

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 "get id in oncreateoptionsmenu fragment"

Browse Popular Code Answers by Language