private void checkImageStatus() { if (adapter.isEmpty()) { imgNoMedia.setVisibility(View.VISIBLE); } else { imgNoMedia.setVisibility(View.GONE); } }