how to check recyclerview is empty in android code example
Example: how to check if recyclerview is empty
// siyanda zama
if (recyclerview.getItemCount() == 0)
{
Toast.makeText(getActivity(), "No records to show!", Toast.LENGTH_SHORT).show();
}