Code example for ListFragment

Methods: getListViewonViewCreated, getActivity

0
    } 
     
    @Override 
    public void onViewCreated(View view, Bundle savedInstanceState) {
    	// TODO Auto-generated method stub 
    	super.onViewCreated(view, savedInstanceState);
    	getListView().setOnItemClickListener((ActivityDrawer)getActivity());
    } 
} 
Contextual code suggestions in your IDE  Get Codota for Java