fix #321, improve file thumbnail caching

This commit is contained in:
tibbi 2019-06-14 15:22:10 +02:00
parent 73273f5a89
commit 9c68cbd750
2 changed files with 2 additions and 1 deletions

View File

@ -51,7 +51,7 @@ android {
}
dependencies {
implementation 'com.simplemobiletools:commons:5.13.13'
implementation 'com.simplemobiletools:commons:5.13.14'
implementation 'com.github.Stericson:RootTools:df729dcb13'
implementation 'com.github.Stericson:RootShell:1.6'
implementation 'com.alexvasilkov:gesture-views:2.5.2'

View File

@ -676,6 +676,7 @@ class ItemsAdapter(activity: SimpleActivity, var listItems: MutableList<ListItem
item_date.text = listItem.modified.formatDate(activity)
val options = RequestOptions()
.signature(listItem.mPath.getFileSignature())
.diskCacheStrategy(DiskCacheStrategy.RESOURCE)
.error(fileDrawable)
.centerCrop()