InvalidatingPagingSourceFactory
class InvalidatingPagingSourceFactory<Key : Any, Value : Any> : () -> PagingSource<Key, Value>
Wrapper class for PagingSource factory intended for usage in Pager construction.
Stores reference to the PagingSource factory and the PagingSources it produces for
invalidation when the backing dataset is updated.
Calling invalidate on this InvalidatingPagingSourceFactory will automatically forward
invalidate signals to all active PagingSources.
Summary
Public constructors |
Wrapper class for PagingSource factory intended for usage in Pager construction.
|
Inherited extension functions |
From androidx.paging.kotlin.Function0
Flowable<PagedList<Value>> |
Constructs a Flowable<PagedList> , from this PagingSource factory, convenience for
RxPagedListBuilder.
|
Flowable<PagedList<Value>> |
() -> PagingSource<Key, Value>.toFlowable(pageSize: Int, initialLoadKey: Key? = null, boundaryCallback: PagedList.BoundaryCallback<Value>? = null, fetchScheduler: Scheduler? = null, notifyScheduler: Scheduler? = null, backpressureStrategy: BackpressureStrategy = BackpressureStrategy.LATEST)
Constructs a Flowable<PagedList> , from this PagingSource factory, convenience for
RxPagedListBuilder.
|
LiveData<PagedList<Value>> |
Constructs a LiveData<PagedList> , from this PagingSource factory, convenience for
LivePagedListBuilder.
|
LiveData<PagedList<Value>> |
| |