disabled pause image load on scroll

updated library
This commit is contained in:
Mariotaku Lee 2017-03-03 23:24:32 +08:00
parent 9e615969f5
commit 760d84adcc
No known key found for this signature in database
GPG Key ID: 15C10F89D7C33535
3 changed files with 3 additions and 3 deletions

View File

@ -158,7 +158,7 @@ dependencies {
compile 'com.bluelinelabs:logansquare:1.3.7'
compile 'com.soundcloud.android:android-crop:1.0.1@aar'
compile 'com.hannesdorfmann.parcelableplease:annotation:1.0.2'
compile 'com.github.mariotaku:PickNCrop:0.9.19'
compile 'com.github.mariotaku:PickNCrop:0.9.20'
compile "com.github.mariotaku.RestFu:library:$mariotaku_restfu_version"
compile "com.github.mariotaku.RestFu:okhttp3:$mariotaku_restfu_version"
compile 'com.squareup.okhttp3:okhttp:3.5.0'

View File

@ -102,7 +102,7 @@ abstract class AbsActivitiesFragment protected constructor() :
registerForContextMenu(recyclerView)
navigationHelper = RecyclerViewNavigationHelper(recyclerView, layoutManager, adapter,
this)
pauseOnScrollListener = PauseRecyclerViewOnScrollListener(false, true, Glide.with(this))
pauseOnScrollListener = PauseRecyclerViewOnScrollListener(false, false, Glide.with(this))
val loaderArgs = Bundle(arguments)
loaderArgs.putBoolean(EXTRA_FROM_USER, true)

View File

@ -129,7 +129,7 @@ abstract class AbsStatusesFragment : AbsContentListRecyclerViewFragment<Parcelab
adapter.statusClickListener = this
registerForContextMenu(recyclerView)
navigationHelper = RecyclerViewNavigationHelper(recyclerView, layoutManager, adapter, this)
pauseOnScrollListener = PauseRecyclerViewOnScrollListener(false, true, Glide.with(this))
pauseOnScrollListener = PauseRecyclerViewOnScrollListener(false, false, Glide.with(this))
if (shouldInitLoader) {
initLoaderIfNeeded()