Code example for ListFragment

Methods: onDestroyView

0
		return fragmentLayout;
	} 
	 
	@Override 
	public void onDestroyView() { 
		super.onDestroyView(); 
		BusProvider.getInstance().unregister(this);
	} 
 
	@Override 
	public void onActivityCreated(Bundle savedInstanceState) {
		super.onActivityCreated(savedInstanceState);
		 
		savedSearchView = (SavedSearchListView) getListView();
		savedSearchView.setDivider(null);
		savedSearchAdapter = new SavedResultCursorAdapter(getActivity(), DDGApplication.getDB().getCursorSavedSearch());
		savedSearchView.setAdapter(savedSearchAdapter);
	} 
 
	@Override 
Contextual code suggestions in your IDE  Get Codota for Java