Compare commits
2 Commits
v172101010
...
imagecache
Author | SHA1 | Date | |
---|---|---|---|
9e0fdf30ec | |||
0d84a2d7e9 |
@ -36,12 +36,6 @@
|
|||||||
|
|
||||||
- Closing #178. Expending images on tap.
|
- Closing #178. Expending images on tap.
|
||||||
|
|
||||||
- Closing #323. Old issue with textview not having the right color.
|
|
||||||
|
|
||||||
- Closing #324. Svg images loading crashes the app.
|
|
||||||
|
|
||||||
- Closing #322. App crashed because of svg images.
|
|
||||||
|
|
||||||
**1.6.x**
|
**1.6.x**
|
||||||
|
|
||||||
- Handling hidden tags.
|
- Handling hidden tags.
|
||||||
@ -62,8 +56,6 @@
|
|||||||
|
|
||||||
- Fixes #215, #208.
|
- Fixes #215, #208.
|
||||||
|
|
||||||
- Fixes #328.
|
|
||||||
|
|
||||||
**1.5.7.x**
|
**1.5.7.x**
|
||||||
|
|
||||||
- Added confirmation to the mark as read and update menues.
|
- Added confirmation to the mark as read and update menues.
|
||||||
|
@ -156,7 +156,7 @@ data class Item(
|
|||||||
fun preloadImages(context: Context) : Boolean {
|
fun preloadImages(context: Context) : Boolean {
|
||||||
val imageUrls = this.getImages()
|
val imageUrls = this.getImages()
|
||||||
|
|
||||||
val glideOptions = RequestOptions.diskCacheStrategyOf(DiskCacheStrategy.ALL).timeout(10000)
|
val glideOptions = RequestOptions.diskCacheStrategyOf(DiskCacheStrategy.ALL)
|
||||||
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@ -164,7 +164,7 @@ data class Item(
|
|||||||
if ( URLUtil.isValidUrl(url)) {
|
if ( URLUtil.isValidUrl(url)) {
|
||||||
val image = Glide.with(context).asBitmap()
|
val image = Glide.with(context).asBitmap()
|
||||||
.apply(glideOptions)
|
.apply(glideOptions)
|
||||||
.load(url).submit()
|
.load(url).submit().get()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (e : Error) {
|
} catch (e : Error) {
|
||||||
|
Reference in New Issue
Block a user