Only store necessary strings in AvatarView, instead of realm model (contact or recipient)

This commit is contained in:
Moez Bhatti
2018-04-07 15:52:05 -04:00
parent 04950bc8c8
commit 98cc36beeb
11 changed files with 58 additions and 51 deletions
@@ -68,7 +68,7 @@ class ConversationRecipientAdapter @Inject constructor(
}
view.avatar.threadId = threadId
view.avatar.contact = recipient.contact
view.avatar.setContact(recipient)
view.name.text = recipient.contact?.name ?: recipient.address