RxPagedListKt
public final class RxPagedListKt
Summary
Public methods |
|
|---|---|
static final @NonNull Flowable<@NonNull PagedList<@NonNull Value>> |
<Key extends Object, Value extends Object> 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> 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> 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> 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> 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> 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> 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> This method is deprecated. PagedList is deprecated and has been replaced by PagingData |
Public methods
toFlowable
public static final @NonNull Flowable<@NonNull PagedList<@NonNull Value>> <Key extends Object, Value extends Object>toFlowable(
@NonNull DataSource.Factory<@NonNull Key, @NonNull Value> receiver,
@NonNull PagedList.Config config,
Key initialLoadKey,
PagedList.BoundaryCallback<@NonNull Value> boundaryCallback,
Scheduler fetchScheduler,
Scheduler notifyScheduler,
@NonNull 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 | |
|---|---|
@NonNull PagedList.Config config |
Paging configuration. |
Key initialLoadKey |
Initial load key passed to the first |
PagedList.BoundaryCallback<@NonNull Value> boundaryCallback |
The boundary callback for listening to |
Scheduler fetchScheduler |
|
Scheduler notifyScheduler |
|
@NonNull BackpressureStrategy backpressureStrategy |
|
| See also | |
|---|---|
RxPagedListBuilder |
|
toObservable |
toFlowable
public static final @NonNull Flowable<@NonNull PagedList<@NonNull Value>> <Key extends Object, Value extends Object>toFlowable(
@NonNull DataSource.Factory<@NonNull Key, @NonNull Value> receiver,
int pageSize,
Key initialLoadKey,
PagedList.BoundaryCallback<@NonNull Value> boundaryCallback,
Scheduler fetchScheduler,
Scheduler notifyScheduler,
@NonNull 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 | |
|---|---|
int pageSize |
Page size. |
Key initialLoadKey |
Initial load key passed to the first |
PagedList.BoundaryCallback<@NonNull Value> boundaryCallback |
The boundary callback for listening to |
Scheduler fetchScheduler |
|
Scheduler notifyScheduler |
|
@NonNull BackpressureStrategy backpressureStrategy |
|
| See also | |
|---|---|
RxPagedListBuilder |
|
toObservable |
toFlowable
public static final @NonNull Flowable<@NonNull PagedList<@NonNull Value>> <Key extends Object, Value extends Object>toFlowable(
@NonNull Function0<@NonNull PagingSource<@NonNull Key, @NonNull Value>> receiver,
@NonNull PagedList.Config config,
Key initialLoadKey,
PagedList.BoundaryCallback<@NonNull Value> boundaryCallback,
Scheduler fetchScheduler,
Scheduler notifyScheduler,
@NonNull BackpressureStrategy backpressureStrategy
)
Constructs a Flowable<PagedList>, from this PagingSource 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 | |
|---|---|
@NonNull PagedList.Config config |
Paging configuration. |
Key initialLoadKey |
Initial load key passed to the first |
PagedList.BoundaryCallback<@NonNull Value> boundaryCallback |
The boundary callback for listening to |
Scheduler fetchScheduler |
|
Scheduler notifyScheduler |
|
@NonNull BackpressureStrategy backpressureStrategy |
|
| See also | |
|---|---|
RxPagedListBuilder |
|
toObservable |
toFlowable
public static final @NonNull Flowable<@NonNull PagedList<@NonNull Value>> <Key extends Object, Value extends Object>toFlowable(
@NonNull Function0<@NonNull PagingSource<@NonNull Key, @NonNull Value>> receiver,
int pageSize,
Key initialLoadKey,
PagedList.BoundaryCallback<@NonNull Value> boundaryCallback,
Scheduler fetchScheduler,
Scheduler notifyScheduler,
@NonNull BackpressureStrategy backpressureStrategy
)
Constructs a Flowable<PagedList>, from this PagingSource 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 | |
|---|---|
int pageSize |
Page size. |
Key initialLoadKey |
Initial load key passed to the first |
PagedList.BoundaryCallback<@NonNull Value> boundaryCallback |
The boundary callback for listening to |
Scheduler fetchScheduler |
|
Scheduler notifyScheduler |
|
@NonNull BackpressureStrategy backpressureStrategy |
|
| See also | |
|---|---|
RxPagedListBuilder |
|
toObservable |
toObservable
public static final @NonNull Observable<@NonNull PagedList<@NonNull Value>> <Key extends Object, Value extends Object>toObservable(
@NonNull DataSource.Factory<@NonNull Key, @NonNull Value> receiver,
@NonNull PagedList.Config config,
Key initialLoadKey,
PagedList.BoundaryCallback<@NonNull Value> boundaryCallback,
Scheduler fetchScheduler,
Scheduler notifyScheduler
)
Constructs a Observable<PagedList> from this DataSource.Factory, convenience for RxPagedListBuilder.
The returned Observable 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 | |
|---|---|
@NonNull PagedList.Config config |
Paging configuration. |
Key initialLoadKey |
Initial load key passed to the first |
PagedList.BoundaryCallback<@NonNull Value> boundaryCallback |
The boundary callback for listening to PagedList load state. |
Scheduler fetchScheduler |
|
Scheduler notifyScheduler |
|
| See also | |
|---|---|
RxPagedListBuilder |
|
toFlowable |
toObservable
public static final @NonNull Observable<@NonNull PagedList<@NonNull Value>> <Key extends Object, Value extends Object>toObservable(
@NonNull DataSource.Factory<@NonNull Key, @NonNull Value> receiver,
int pageSize,
Key initialLoadKey,
PagedList.BoundaryCallback<@NonNull Value> boundaryCallback,
Scheduler fetchScheduler,
Scheduler notifyScheduler
)
Constructs a Observable<PagedList> from this DataSource.Factory, convenience for RxPagedListBuilder.
The returned Observable 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 | |
|---|---|
int pageSize |
Size of pages to load. |
Key initialLoadKey |
Initial load key passed to the first |
PagedList.BoundaryCallback<@NonNull Value> boundaryCallback |
The boundary callback for listening to |
Scheduler fetchScheduler |
|
Scheduler notifyScheduler |
|
| See also | |
|---|---|
RxPagedListBuilder |
|
toFlowable |
toObservable
public static final @NonNull Observable<@NonNull PagedList<@NonNull Value>> <Key extends Object, Value extends Object>toObservable(
@NonNull Function0<@NonNull PagingSource<@NonNull Key, @NonNull Value>> receiver,
@NonNull PagedList.Config config,
Key initialLoadKey,
PagedList.BoundaryCallback<@NonNull Value> boundaryCallback,
Scheduler fetchScheduler,
Scheduler notifyScheduler
)
Constructs a Observable<PagedList> from this PagingSource factory, convenience for RxPagedListBuilder.
The returned Observable 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 | |
|---|---|
@NonNull PagedList.Config config |
Paging configuration. |
Key initialLoadKey |
Initial load key passed to the first |
PagedList.BoundaryCallback<@NonNull Value> boundaryCallback |
The boundary callback for listening to PagedList load state. |
Scheduler fetchScheduler |
|
Scheduler notifyScheduler |
|
| See also | |
|---|---|
RxPagedListBuilder |
|
toFlowable |
toObservable
public static final @NonNull Observable<@NonNull PagedList<@NonNull Value>> <Key extends Object, Value extends Object>toObservable(
@NonNull Function0<@NonNull PagingSource<@NonNull Key, @NonNull Value>> receiver,
int pageSize,
Key initialLoadKey,
PagedList.BoundaryCallback<@NonNull Value> boundaryCallback,
Scheduler fetchScheduler,
Scheduler notifyScheduler
)
Constructs a Observable<PagedList> from this PagingSource factory, convenience for RxPagedListBuilder.
The returned Observable 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 | |
|---|---|
int pageSize |
Size of pages to load. |
Key initialLoadKey |
Initial load key passed to the first |
PagedList.BoundaryCallback<@NonNull Value> boundaryCallback |
The boundary callback for listening to |
Scheduler fetchScheduler |
|
Scheduler notifyScheduler |
|
| See also | |
|---|---|
RxPagedListBuilder |
|
toFlowable |