Code example for FragmentActivity

Methods: setTitle

0
	public void onLoadFinished(Loader<Cursor> loader, Cursor cursor) {
		if(cursor != null) {
			cursor.moveToFirst();
			String title = cursor.getString(0);
			if(title != null)
				setTitle(title);
		} 
	} 
 
	@Override 
	public void onLoaderReset(Loader<Cursor> loader) {
		setTitle(""); 
	} 
}