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);
		 
		savedFeedView = (MainFeedListView) getListView();
		savedFeedAdapter = new SavedFeedCursorAdapter(getActivity(), DDGApplication.getDB().getCursorStoryFeed());
		savedFeedView.setAdapter(savedFeedAdapter);
	} 
 
	@Override 
	public void onListItemClick(ListView l, View v, int position, long id) {
		super.onListItemClick(l, v, position, id);