Code example for Fragment

Methods: getLoaderManageronCreate

0
		return view;
	} 
	 
	@Override 
	public void onCreate(Bundle savedInstanceState){
		super.onCreate(savedInstanceState);
		getLoaderManager().initLoader(0, null, this);
	} 
	 
	@Override 
	public void onResume(){ 
		super.onResume(); 
		//getLoaderManager().restartLoader(0, null, this); 
	} 
	@Override 
	public void onPause(){ 
		super.onPause(); 
	} 
 
	public static TrendFragment newInstance() { 
		return new TrendFragment();