From 19a81d2566f3a260c0d5c8cbfe6160d3c3012632 Mon Sep 17 00:00:00 2001 From: tibbi Date: Mon, 8 Jan 2018 21:17:27 +0100 Subject: [PATCH] reduce instant load duration to 2 seconds --- .../com/simplemobiletools/gallery/adapters/MediaAdapter.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/adapters/MediaAdapter.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/adapters/MediaAdapter.kt index 1a8463e8e..66df85b70 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/adapters/MediaAdapter.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/adapters/MediaAdapter.kt @@ -29,7 +29,7 @@ class MediaAdapter(activity: BaseSimpleActivity, var media: MutableList, val allowMultiplePicks: Boolean, recyclerView: MyRecyclerView, fastScroller: FastScroller? = null, itemClick: (Any) -> Unit) : MyRecyclerViewAdapter(activity, recyclerView, fastScroller, itemClick) { - private val INSTANT_LOAD_DURATION = 3000L + private val INSTANT_LOAD_DURATION = 2000L private val IMAGE_LOAD_DELAY = 100L private val config = activity.config