Code example for ListFragment

Methods: onOptionsItemSelected

0
    } 
 
    @Override 
    public boolean onOptionsItemSelected(MenuItem item) {
        return menuController.onOptionsItemSelected(item)
                || super.onOptionsItemSelected(item);
    } 
 
    @Override 
    public boolean onCreateActionMode(ActionMode mode, Menu menu) {
        return actionModeController.onCreateActionMode(mode, menu, getListView());
    } 
 
    @Override 
    public boolean onPrepareActionMode(ActionMode mode, Menu menu) {
        return actionModeController.onPrepareActionMode(mode, menu, getListView());
    } 
 
    @Override 
    public void onItemCheckedStateChanged(ActionMode mode, int position, long id, boolean checked) {
        actionModeController.onItemCheckedStateChanged(mode, position, id, checked);