title: How to show an empty view when using PagedListAdapter with LiveData?
body: <p>Usually on a <code>RecyclerView</code> I show an empty view when there are no items on the <code>RecyclerView</code> and since I control all updates to the <code>RecyclerView</code> via the <code>notify</code> methods then that is pretty simple but with <code>PagedListAdapter</code> updates just seem to happen on the background, so how can I hide or show my empty view?</p>
  
  <p>For example, if I call <code>deleteItem()</code> on my <code>Room DB</code>, the <code>PagedListAdapter</code> will be updated on its own without me calling <code>notifyItemDeleted</code> but if it was the last item on the list, how does my code know to show the empty view? I could query the DB each time an action happens for the count but that seems wasteful. Is there a better way?</p>