code: public void setEmptyView(View emptyView) {
          mEmptyView = emptyView;
  
          final ListAdapter adapter = getAdapter();
          final boolean empty = ((adapter == null) || adapter.isEmpty());
          updateEmptyStatus(empty);
      }
docs: Sets the view to show if the adapter is empty