Answers for "how to check each item view is empty or not in recycler view in android studio"

4

how to check if recyclerview is empty

// siyanda zama
if (recyclerview.getItemCount() == 0)
  {
    Toast.makeText(getActivity(), "No records to show!", Toast.LENGTH_SHORT).show();
  }
Posted by: Guest on June-22-2020

Code answers related to "how to check each item view is empty or not in recycler view in android studio"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language