Code example for ListFragment

Methods: setEmptyTextsetListShownsetListShownNoAnimation, isResumed

0
							"Report list Cursor size: %d. Cursor columns: %s. Cursor column count: %d", 
							cursor.getCount(),
							Arrays.toString(cursor.getColumnNames()),
							cursor.getCount()));
			mAdapter.swapCursor(cursor);
			if (isResumed()) {
				setListShown(true);
			} else { 
				setListShownNoAnimation(true);
			} 
		} 
		setEmptyText("No articles downloaded yet");
		setListShown(true);
	} 
 
	@Override 
	public void onLoaderReset(Loader<Cursor> arg0) {
		//mAdapter.swapCursor(null); 
	} 
 
Connect your IDE to all the code out there  Get Codota for Java