fix #321, improve file thumbnail caching
This commit is contained in:
parent
73273f5a89
commit
9c68cbd750
|
@ -51,7 +51,7 @@ android {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
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:RootTools:df729dcb13'
|
||||||
implementation 'com.github.Stericson:RootShell:1.6'
|
implementation 'com.github.Stericson:RootShell:1.6'
|
||||||
implementation 'com.alexvasilkov:gesture-views:2.5.2'
|
implementation 'com.alexvasilkov:gesture-views:2.5.2'
|
||||||
|
|
|
@ -676,6 +676,7 @@ class ItemsAdapter(activity: SimpleActivity, var listItems: MutableList<ListItem
|
||||||
item_date.text = listItem.modified.formatDate(activity)
|
item_date.text = listItem.modified.formatDate(activity)
|
||||||
|
|
||||||
val options = RequestOptions()
|
val options = RequestOptions()
|
||||||
|
.signature(listItem.mPath.getFileSignature())
|
||||||
.diskCacheStrategy(DiskCacheStrategy.RESOURCE)
|
.diskCacheStrategy(DiskCacheStrategy.RESOURCE)
|
||||||
.error(fileDrawable)
|
.error(fileDrawable)
|
||||||
.centerCrop()
|
.centerCrop()
|
||||||
|
|
Loading…
Reference in New Issue