Use DiffUtil with thread recyclerview

Also added a progress indicator at the top while fetching older messages
This commit is contained in:
Naveen 2022-11-17 01:47:39 +05:30
parent c5034a64d5
commit d8dadd1f55
11 changed files with 207 additions and 110 deletions

View file

@ -46,6 +46,7 @@ const val THREAD_SENT_MESSAGE = 3
const val THREAD_SENT_MESSAGE_ERROR = 4
const val THREAD_SENT_MESSAGE_SENT = 5
const val THREAD_SENT_MESSAGE_SENDING = 6
const val THREAD_LOADING = 7
// view types for attachment list
const val ATTACHMENT_DOCUMENT = 7