Code example for Fragment

Methods: getLoaderManager

0
	public static TrendFragment newInstance() { 
		return new TrendFragment(); 
	} 
 
	public void refresh() { 
		getLoaderManager().restartLoader(0, null, this);
	} 
 
	@Override 
	public Loader<Cursor> onCreateLoader(int id, Bundle args) {
		return null; 
	} 
 
	@Override 
	public void onLoadFinished(Loader<Cursor> loader, Cursor cursor) {
		 
	} 
 
	@Override 
	public void onLoaderReset(Loader<Cursor> cursor) {
Contextual code suggestions in your IDE  Get Codota for Java