Create the Empty View

<red lines>
	<!-- Empty view for the list -->
	<RelativeLayout
		android:id="@+id/empty_view"
		android:layout_width="wrap_content"
		android:layout_height="wrap_content"
		android:layout_centerInParent="true">

		<ImageView
			android:id="@+id/empty_shelter_image"
			android:layout_width="wrap_content"
			android:layout_height="wrap_content"
			android:layout_centerHorizontal="true"
			android:src="@drawable/ic_empty_shelter" />

		<TextView
			android:id="@+id/empty_title_text"
			android:layout_width="wrap_content"
			android:layout_height="wrap_content"
			android:layout_below="@+id/empty_shelter_image"
			android:layout_centerHorizontal="true"
			android:fontFamily="sans-serif-medium"
			android:paddingTop="16dp"
			android:text="@string/empty_view_title_text"
			android:textAppearance="?android:textAppearanceMedium" />

		<TextView
			android:id="@+id/empty_subtitle_text"
			android:layout_width="wrap_content"
			android:layout_height="wrap_content"
			android:layout_below="@+id/empty_title_text"
			android:layout_centerHorizontal="true"
			android:fontFamily="sans-serif"
			android:paddingTop="8dp"
			android:text="@string/empty_view_subtitle_text"
			android:textAppearance="?android:textAppearanceSmall"
			android:textColor="#A2AAB0">
	</RelativeLayout>

Using a CursorLoader
Activity -> LoaderCallbacks -> onCreate() ->getLoaderManager().initLoader()->onCreateLoader() -> onLoadFinished() swapCursor(cursor -> onLoaderReset() swapCursor(null)