use proper avatar image signature at loading local contacts
This commit is contained in:
parent
5841baa0f8
commit
36a15478b4
|
@ -327,7 +327,7 @@ class ContactsAdapter(activity: SimpleActivity, var contactItems: ArrayList<Cont
|
|||
}
|
||||
contact.photo != null -> {
|
||||
val options = RequestOptions()
|
||||
.signature(ObjectKey(contact.photo!!))
|
||||
.signature(ObjectKey(contact.hashCode()))
|
||||
.diskCacheStrategy(DiskCacheStrategy.RESOURCE)
|
||||
.error(placeholderImage)
|
||||
.centerCrop()
|
||||
|
|
Loading…
Reference in New Issue