Code example for Fragment

Methods: onCreateView

0
	@Override 
	public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) 
	{ 
		this.container = container;
		this.inflater = inflater;
		return super.onCreateView(inflater, container, savedInstanceState);
	} 
	 
	public void clearContainer(ViewGroup container)
	{ 
		if(container != null)
		{ 
			container.removeAllViews();
		}			 
	} 
	 
	@Override 
	public void onResume()  
	{ 
		super.onResume();