Code example for Fragment

Methods: onCreateView

0
 
		@Override 
		public View onCreateView(LayoutInflater inflater, ViewGroup container, 
				Bundle savedInstanceState) { 
			// TODO Auto-generated method stub 
			return super.onCreateView(inflater, container, savedInstanceState); 
		} 
		 
	} 
	 
	public static class Tab2 extends Fragment 
	{ 
		@Override 
		public View onCreateView(LayoutInflater inflater, ViewGroup container, 
				Bundle savedInstanceState) { 
			// TODO Auto-generated method stub 
			return super.onCreateView(inflater, container, savedInstanceState); 
		} 
		 
	}