mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-31 23:03:54 +01:00
BasePagingPresenter.kt: modified property names to camel case to meet ktlint standard
This commit is contained in:
parent
ed9a37cb60
commit
bcf682fff4
1 changed files with 3 additions and 3 deletions
|
|
@ -10,8 +10,8 @@ abstract class BasePagingPresenter<T>(
|
||||||
val mainThreadScheduler: Scheduler,
|
val mainThreadScheduler: Scheduler,
|
||||||
val pageableBaseDataSource: PageableBaseDataSource<T>,
|
val pageableBaseDataSource: PageableBaseDataSource<T>,
|
||||||
) : PagingContract.Presenter<T> {
|
) : PagingContract.Presenter<T> {
|
||||||
private val DUMMY: PagingContract.View<T> = proxy()
|
private val dummy: PagingContract.View<T> = proxy()
|
||||||
private var view: PagingContract.View<T> = DUMMY
|
private var view: PagingContract.View<T> = dummy
|
||||||
|
|
||||||
private val compositeDisposable = CompositeDisposable()
|
private val compositeDisposable = CompositeDisposable()
|
||||||
override val listFooterData = MutableLiveData<List<FooterItem>>().apply { value = emptyList() }
|
override val listFooterData = MutableLiveData<List<FooterItem>>().apply { value = emptyList() }
|
||||||
|
|
@ -53,7 +53,7 @@ abstract class BasePagingPresenter<T>(
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onDetachView() {
|
override fun onDetachView() {
|
||||||
view = DUMMY
|
view = dummy
|
||||||
compositeDisposable.clear()
|
compositeDisposable.clear()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue