Glimpse: Use thumbnail cached image as full image preview

Change-Id: I87891cd8a2a687893e129cde28d5c5b3f43024dd
This commit is contained in:
Luca Stefani 2023-08-11 16:59:21 +02:00 committed by Sebastiano Barezzi
parent dd81817e66
commit c757a1d723
No known key found for this signature in database
GPG Key ID: 763BD3AE91A7A13F
1 changed files with 1 additions and 0 deletions

View File

@ -95,6 +95,7 @@ class MediaViewerAdapter(
this.position = position this.position = position
imageView.load(media.externalContentUri) { imageView.load(media.externalContentUri) {
memoryCacheKey("full_${media.id}") memoryCacheKey("full_${media.id}")
placeholderMemoryCacheKey("thumbnail_${media.id}")
} }
} }