Browse Source

UnreadFragment tiny tweak

pull/70/head
Ezerous 5 years ago
parent
commit
c242b009e0
No known key found for this signature in database GPG Key ID: 262B2954BBA319E3
  1. 9
      app/src/main/java/gr/thmmy/mthmmy/activities/main/unread/UnreadFragment.java

9
app/src/main/java/gr/thmmy/mthmmy/activities/main/unread/UnreadFragment.java

@ -120,15 +120,6 @@ public class UnreadFragment extends BaseFragment {
noUnreadTopicsTextView = rootView.findViewById(R.id.no_unread_topics); noUnreadTopicsTextView = rootView.findViewById(R.id.no_unread_topics);
markAsReadFAB = rootView.findViewById(R.id.unread_fab); markAsReadFAB = rootView.findViewById(R.id.unread_fab);
if(topicSummaries.isEmpty()){
hideMarkAsReadFAB();
noUnreadTopicsTextView.setVisibility(View.VISIBLE);
}
else{
noUnreadTopicsTextView.setVisibility(View.INVISIBLE);
showMarkAsReadFAB();
}
unreadAdapter = new UnreadAdapter(topicSummaries, fragmentInteractionListener); unreadAdapter = new UnreadAdapter(topicSummaries, fragmentInteractionListener);
CustomRecyclerView recyclerView = rootView.findViewById(R.id.list); CustomRecyclerView recyclerView = rootView.findViewById(R.id.list);

Loading…
Cancel
Save