Code example for ListFragment

Methods: onCreateView

	public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
		View view = super.onCreateView(inflater, container, savedInstanceState);
		return view;
	 * Helper function to show the details of a selected item, either by 
	 * displaying a fragment in-place in the current UI, or starting a 
	 * whole new activity in which it is displayed. 
	private void showDetails(int index) {
		mCurCheckPosition  = index;
		// We can display everything in-place with fragments.