mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-11-03 16:23: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 pageableBaseDataSource: PageableBaseDataSource<T>,
|
||||
) : PagingContract.Presenter<T> {
|
||||
private val DUMMY: PagingContract.View<T> = proxy()
|
||||
private var view: PagingContract.View<T> = DUMMY
|
||||
private val dummy: PagingContract.View<T> = proxy()
|
||||
private var view: PagingContract.View<T> = dummy
|
||||
|
||||
private val compositeDisposable = CompositeDisposable()
|
||||
override val listFooterData = MutableLiveData<List<FooterItem>>().apply { value = emptyList() }
|
||||
|
|
@ -53,7 +53,7 @@ abstract class BasePagingPresenter<T>(
|
|||
}
|
||||
|
||||
override fun onDetachView() {
|
||||
view = DUMMY
|
||||
view = dummy
|
||||
compositeDisposable.clear()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue