launch the zoomable imageview load at fullscreen views earlier

This commit is contained in:
tibbi 2018-08-05 12:05:28 +02:00
parent 2bac88ebc4
commit 4bae35955d
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ ext {
}
dependencies {
implementation 'com.simplemobiletools:commons:4.5.14'
implementation 'com.simplemobiletools:commons:4.5.20'
implementation 'com.theartofdev.edmodo:android-image-cropper:2.7.0'
implementation 'com.android.support:multidex:1.0.3'
implementation 'it.sephiroth.android.exif:library:1.0.1'

View File

@ -48,7 +48,7 @@ import java.io.FileOutputStream
class PhotoFragment : ViewPagerFragment() {
private val DEFAULT_DOUBLE_TAP_ZOOM = 2f
private val ZOOMABLE_VIEW_LOAD_DELAY = 1500L
private val ZOOMABLE_VIEW_LOAD_DELAY = 1000L
private var isFragmentVisible = false
private var isFullscreen = false