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
@@ -103,7 +103,7 @@ class ChipsAdapter @Inject constructor(private val context: Context, private val
val contact = getItem(position)
val view = holder.itemView
view.avatar.contact = contact
view.avatar.setContact(contact)
// If the contact's name is empty, try to display a phone number instead
// The contacts provided here should only have one number