Don't scroll to top after archiving conversation

This commit is contained in:
Moez Bhatti
2018-04-04 00:10:52 -04:00
parent b2116d787a
commit f18e766386
2 changed files with 6 additions and 2 deletions
@@ -90,4 +90,8 @@ class ConversationsAdapter @Inject constructor(
override fun getItemViewType(position: Int): Int {
return if (getItem(position).read) 0 else 1
}
override fun areItemsTheSame(old: Conversation, new: Conversation): Boolean {
return old.id == new.id
}
}