Merge branch '408-forum-list-unread-posts-badges' into 'master'
Adds badges to the forum list that indicate unread posts This MR adds badges to the forum list that indicate unread posts. It does so by extending the compound view `TextAvatarView` and provides convenient setters that take care of the required UI changes. The new badge can also be used to indicate a problem with the forum.  I decided not to check if the forum is shared from someone or with someone and indicate a problem in this case, because this requires iterating two times over all contacts and their group metadata for each forum. If someone considers it important to check for this information, we can create a ticket for doing this within the forum and not in the forum list. See merge request !207
No related branches found
No related tags found
Showing
- briar-android/res/drawable/bubble.xml 2 additions, 1 deletionbriar-android/res/drawable/bubble.xml
- briar-android/res/drawable/bubble_problem.xml 21 additions, 0 deletionsbriar-android/res/drawable/bubble_problem.xml
- briar-android/res/layout/list_item_available_forum.xml 2 additions, 2 deletionsbriar-android/res/layout/list_item_available_forum.xml
- briar-android/res/layout/list_item_forum.xml 23 additions, 23 deletionsbriar-android/res/layout/list_item_forum.xml
- briar-android/res/layout/text_avatar_view.xml 19 additions, 3 deletionsbriar-android/res/layout/text_avatar_view.xml
- briar-android/res/values/color.xml 1 addition, 1 deletionbriar-android/res/values/color.xml
- briar-android/res/values/dimens.xml 3 additions, 1 deletionbriar-android/res/values/dimens.xml
- briar-android/res/values/strings.xml 5 additions, 2 deletionsbriar-android/res/values/strings.xml
- briar-android/src/org/briarproject/android/forum/ForumListAdapter.java 22 additions, 15 deletions.../src/org/briarproject/android/forum/ForumListAdapter.java
- briar-android/src/org/briarproject/android/forum/ForumListFragment.java 0 additions, 2 deletions...src/org/briarproject/android/forum/ForumListFragment.java
- briar-android/src/org/briarproject/android/forum/ForumListItem.java 7 additions, 0 deletions...oid/src/org/briarproject/android/forum/ForumListItem.java
- briar-android/src/org/briarproject/android/util/TextAvatarView.java 37 additions, 8 deletions...oid/src/org/briarproject/android/util/TextAvatarView.java
Loading
Please register or sign in to comment