Code example for ActionBarActivity

Methods: onOptionsItemSelected

0
                } else { 
                    mDrawerLayout.openDrawer(mDrawerList);
                } 
                return true; 
            default: 
                return super.onOptionsItemSelected(item);
        } 
    } 
 
    /* The click listner for ListView in the navigation drawer */ 
    private class DrawerItemClickListener implements ListView.OnItemClickListener {
        @Override 
        public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
            selectItem(position);
        } 
    } 
 
    @Override 
    protected void onPostCreate(Bundle savedInstanceState) {
        super.onPostCreate(savedInstanceState);
Contextual code suggestions in your IDE  Get Codota for Java