load fullscreen images quicker

This commit is contained in:
tibbi 2019-09-12 22:14:10 +02:00
parent ac462f5a3c
commit 1bb3cc54d8
2 changed files with 2 additions and 2 deletions

View file

@ -76,7 +76,7 @@ dependencies {
implementation 'com.squareup.picasso:picasso:2.71828'
implementation 'com.caverock:androidsvg-aar:1.3'
implementation 'com.github.tibbi:gestureviews:a2208ce9d9'
implementation 'com.github.tibbi:subsampling-scale-image-view:3afb6c1b6e'
implementation 'com.github.tibbi:subsampling-scale-image-view:7810989016'
kapt 'com.github.bumptech.glide:compiler:4.9.0' // keep it here too, not just in Commons, else loading SVGs wont work
kapt 'androidx.room:room-compiler:2.1.0'

View file

@ -57,7 +57,7 @@ import java.util.*
class PhotoFragment : ViewPagerFragment() {
private val DEFAULT_DOUBLE_TAP_ZOOM = 2f
private val ZOOMABLE_VIEW_LOAD_DELAY = 150L
private val ZOOMABLE_VIEW_LOAD_DELAY = 100L
private val SAME_ASPECT_RATIO_THRESHOLD = 0.01
// devices with good displays, but the rest of the hardware not good enough for them