app/src/main/java/fr/free/nrw/commons/category/CategoryDetailsActivity.java
@Override
    public boolean onCreateOptionsMenu(Menu menu) {
        MenuInflater inflater = getMenuInflater();
        inflater.inflate(R.menu.fragment_category_detail, menu);
        return super.onCreateOptionsMenu(menu);
    }
/**
     * This method inflates the menu in the toolbar
     */
This method inflates the menu in the toolbar
This method inflates the menu in the toolbar
@Override
    public boolean onCreateOptionsMenu(Menu menu) {
        MenuInflater inflater = getMenuInflater();
        inflater.inflate(R.menu.fragment_category_detail, menu);
        return super.onCreateOptionsMenu(menu);
    }
@ Override public boolean onCreateOptionsMenu ( Menu menu ) { MenuInflater inflater = getMenuInflater ( ) ; inflater . inflate ( R . menu . fragment_category_detail , menu ) ; return super . onCreateOptionsMenu ( menu ) ; }
This method inflates the menu in the toolbar
This method inflates the menu in the toolbar