Code example for FragmentActivity

Methods: onCreateOptionsMenu

        return mActivityHelper.onKeyDown(keyCode, event) || super.onKeyDown(keyCode, event);
    public boolean onCreateOptionsMenu(Menu menu) {
        return mActivityHelper.onCreateOptionsMenu(menu) || super.onCreateOptionsMenu(menu);
    public boolean onOptionsItemSelected(MenuItem item) {
        return mActivityHelper.onOptionsItemSelected(item) || super.onOptionsItemSelected(item);
     * Returns the {@link ActivityHelper} object associated with this activity. 
    protected ActivityHelper getActivityHelper() { 
        return mActivityHelper;
Stop searching for code, let great code find you!  Add Codota to your java IDE