load fullscreen images quicker
This commit is contained in:
parent
ac462f5a3c
commit
1bb3cc54d8
2 changed files with 2 additions and 2 deletions
|
@ -76,7 +76,7 @@ dependencies {
|
||||||
implementation 'com.squareup.picasso:picasso:2.71828'
|
implementation 'com.squareup.picasso:picasso:2.71828'
|
||||||
implementation 'com.caverock:androidsvg-aar:1.3'
|
implementation 'com.caverock:androidsvg-aar:1.3'
|
||||||
implementation 'com.github.tibbi:gestureviews:a2208ce9d9'
|
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 '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'
|
kapt 'androidx.room:room-compiler:2.1.0'
|
||||||
|
|
|
@ -57,7 +57,7 @@ import java.util.*
|
||||||
|
|
||||||
class PhotoFragment : ViewPagerFragment() {
|
class PhotoFragment : ViewPagerFragment() {
|
||||||
private val DEFAULT_DOUBLE_TAP_ZOOM = 2f
|
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
|
private val SAME_ASPECT_RATIO_THRESHOLD = 0.01
|
||||||
|
|
||||||
// devices with good displays, but the rest of the hardware not good enough for them
|
// devices with good displays, but the rest of the hardware not good enough for them
|
||||||
|
|
Loading…
Reference in a new issue