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