Code example for ListFragment

Methods: onCreate, setHasOptionsMenu

0
	public static class ContactListFragment extends ListFragment implements
			RefreshListener { 
 
		@Override 
		public void onCreate(Bundle savedInstanceState) {
			super.onCreate(savedInstanceState);
			setHasOptionsMenu(true);
		} 
		 
		 
		@Override 
		public View onCreateView(LayoutInflater inflater, ViewGroup container,
				Bundle savedInstanceState) {
			 
			 
			return super.onCreateView(inflater, container, savedInstanceState);
		} 
 
		@Override 
		public void refreshView() {