title: If the List is Empty in the RecyclerView, I want to Display Toast with Empty Message
body: <p>I'm getting the default card in <code>recyclerView</code> for the concept of pagination,
  as my code in the Fragment is as follows:</p>
  
  <pre><code>private void onResponse(String response) {
  
  
     NewEnquiryPagination newEnquiries = new Gson().fromJson(response, new TypeToken&lt;NewEnquiryPagination&gt;() {
      }.getType());
  
      Log.i("@sandy,", "newEnquiriesFirstPage: " + newEnquiries);
  
      if (listOfEnquiries !=null) {
  
          adapter.addAll(newEnquiries.getContent());
  
          if (currentPage &lt;= TOTAL_PAGES) adapter.addLoadingFooter();
          else isLastPage = true;
      }
  }
  
  
  
  private void onResponseNextPage(String response) {
  
      adapter.removeLoadingFooter();
      isLoading = false;
      NewEnquiryPagination newEnquiries = new Gson().fromJson(response, new TypeToken&lt;NewEnquiryPagination&gt;() {
      }.getType());
      if (listOfEnquiries != null ) {
  
          adapter.addAll(newEnquiries.getContent());
  
          if (currentPage != TOTAL_PAGES) adapter.addLoadingFooter();
          else isLastPage = true;
      }
  }
  </code></pre>
  
  <p>I'm getting the list from the content as empty but in default i'm getting the card set and also on <code>SwipeRefresh</code> the card is increasing by one.... the problem is in <code>loadFirstPage();</code> method, if the list is empty i just want to display the <code>snackbar</code> as empty and on <code>SwipeRefresh</code> i just want to refresh the list. </p>
  
  <p>Please help me</p>