Code example for ListFragment

Methods: getListView, onStart

0
        return super.onCreateView(inflater, container, savedInstanceState);
    } 
  
    @Override 
    public void onStart() { 
        super.onStart(); 
  
        /** Setting the multiselect choice mode for the listview */ 
        getListView().setChoiceMode(ListView.CHOICE_MODE_NONE);
    } 
}