mehrfache anzeigen von Dateien in Ankündigungen und Aufgaben entfernt

This commit is contained in:
Joshua
2018-10-30 16:19:50 +01:00
parent bcb09d9a26
commit e95b1ecf74
3 changed files with 3 additions and 0 deletions

View File

@@ -58,6 +58,7 @@ class ModDetailAnnounceAdapter extends RecyclerView.Adapter<CustomViewHolder> {
Announcement item = getAnnouncement(position);
holder.mTitle.setText(item.getTitle());
holder.mSubTitle.setText(UtilsDate.getModifiedDateTime(holder.mView.getContext(), item.getCreatedOn()));
holder.mTagGroup.removeAll();
List<String> notes = item.getUrls();
if (!notes.isEmpty()) {

View File

@@ -58,6 +58,7 @@ class ModDetailAssignmentAdapter extends RecyclerView.Adapter<CustomViewHolder>
Assignment item = getAssignment(position);
holder.mTitle.setText(item.getTitle());
holder.mSubTitle.setText(UtilsDate.getModifiedDateTime(holder.mView.getContext(), item.getDueDate()));
holder.mTagGroup.removeAll();
List<String> notes = item.getUrls();
if (!notes.isEmpty()) {

View File

@@ -0,0 +1 @@
https://github.com/TellH/RecyclerTreeView