RxPagedListKt

public final class RxPagedListKt


Summary

Public methods

static final @NonNull Flowable<@NonNull PagedList<@NonNull Value>>
<Key extends Object, Value extends Object> RxPagedListKt.toFlowable(
    DataSource.Factory<Key, Value> receiver,
    PagedList.Config config,
    Key initialLoadKey,
    PagedList.BoundaryCallback<Value> boundaryCallback,
    Scheduler fetchScheduler,
    Scheduler notifyScheduler,
    BackpressureStrategy backpressureStrategy
)

This method is deprecated. PagedList is deprecated and has been replaced by PagingData

static final @NonNull Flowable<@NonNull PagedList<@NonNull Value>>
<Key extends Object, Value extends Object> RxPagedListKt.toFlowable(
    DataSource.Factory<Key, Value> receiver,
    int pageSize,
    Key initialLoadKey,
    PagedList.BoundaryCallback<Value> boundaryCallback,
    Scheduler fetchScheduler,
    Scheduler notifyScheduler,
    BackpressureStrategy backpressureStrategy
)

This method is deprecated. PagedList is deprecated and has been replaced by PagingData

static final @NonNull Flowable<@NonNull PagedList<@NonNull Value>>
<Key extends Object, Value extends Object> RxPagedListKt.toFlowable(
    Function0<PagingSource<Key, Value>> receiver,
    PagedList.Config config,
    Key initialLoadKey,
    PagedList.BoundaryCallback<Value> boundaryCallback,
    Scheduler fetchScheduler,
    Scheduler notifyScheduler,
    BackpressureStrategy backpressureStrategy
)

This method is deprecated. PagedList is deprecated and has been replaced by PagingData

static final @NonNull Flowable<@NonNull PagedList<@NonNull Value>>
<Key extends Object, Value extends Object> RxPagedListKt.toFlowable(
    Function0<PagingSource<Key, Value>> receiver,
    int pageSize,
    Key initialLoadKey,
    PagedList.BoundaryCallback<Value> boundaryCallback,
    Scheduler fetchScheduler,
    Scheduler notifyScheduler,
    BackpressureStrategy backpressureStrategy
)

This method is deprecated. PagedList is deprecated and has been replaced by PagingData

static final @NonNull Observable<@NonNull PagedList<@NonNull Value>>
<Key extends Object, Value extends Object> RxPagedListKt.toObservable(
    DataSource.Factory<Key, Value> receiver,
    PagedList.Config config,
    Key initialLoadKey,
    PagedList.BoundaryCallback<Value> boundaryCallback,
    Scheduler fetchScheduler,
    Scheduler notifyScheduler
)

This method is deprecated. PagedList is deprecated and has been replaced by PagingData

static final @NonNull Observable<@NonNull PagedList<@NonNull Value>>
<Key extends Object, Value extends Object> RxPagedListKt.toObservable(
    DataSource.Factory<Key, Value> receiver,
    int pageSize,
    Key initialLoadKey,
    PagedList.BoundaryCallback<Value> boundaryCallback,
    Scheduler fetchScheduler,
    Scheduler notifyScheduler
)

This method is deprecated. PagedList is deprecated and has been replaced by PagingData

static final @NonNull Observable<@NonNull PagedList<@NonNull Value>>
<Key extends Object, Value extends Object> RxPagedListKt.toObservable(
    Function0<PagingSource<Key, Value>> receiver,
    PagedList.Config config,
    Key initialLoadKey,
    PagedList.BoundaryCallback<Value> boundaryCallback,
    Scheduler fetchScheduler,
    Scheduler notifyScheduler
)

This method is deprecated. PagedList is deprecated and has been replaced by PagingData

static final @NonNull Observable<@NonNull PagedList<@NonNull Value>>
<Key extends Object, Value extends Object> RxPagedListKt.toObservable(
    Function0<PagingSource<Key, Value>> receiver,
    int pageSize,
    Key initialLoadKey,
    PagedList.BoundaryCallback<Value> boundaryCallback,
    Scheduler fetchScheduler,
    Scheduler notifyScheduler
)

This method is deprecated. PagedList is deprecated and has been replaced by PagingData

Public methods

RxPagedListKt.toFlowable

public static final @NonNull Flowable<@NonNull PagedList<@NonNull Value>> <Key extends Object, Value extends Object> RxPagedListKt.toFlowable(
    DataSource.Factory<Key, Value> receiver,
    PagedList.Config config,
    Key initialLoadKey,
    PagedList.BoundaryCallback<Value> boundaryCallback,
    Scheduler fetchScheduler,
    Scheduler notifyScheduler,
    BackpressureStrategy backpressureStrategy
)

Constructs a Flowable<PagedList>, from this DataSource.Factory, convenience for RxPagedListBuilder.

The returned Flowable will already be subscribed on the fetchScheduler, and will perform all loading on that scheduler. It will already be observed on notifyScheduler, and will dispatch new PagedLists, as well as their updates to that scheduler.

Parameters
PagedList.Config config

Paging configuration.

Key initialLoadKey

Initial load key passed to the first PagedList / DataSource.

PagedList.BoundaryCallback<Value> boundaryCallback

The boundary callback for listening to