{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}
public final class RxPagedListKt
Public methods |
|
---|---|
static final @NonNull <ERROR CLASS><@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 <ERROR CLASS><@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 <ERROR CLASS><@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 <ERROR CLASS><@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 <ERROR CLASS><@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 <ERROR CLASS><@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 <ERROR CLASS><@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 <ERROR CLASS><@NonNull PagedList<@NonNull Value>> |
<Key extends Object, Value extends Object> This method is deprecated. PagedList is deprecated and has been replaced by PagingData |
@NonNull
public static final <ERROR CLASS><@NonNull PagedList<@NonNull Value>> <Key extends Object, Value extends Object>toFlowable(
@NonNull DataSource.Factory<@NonNull Key, @NonNull Value> receiver,
@NonNull PagedList.Config config,
@Nullable Key initialLoadKey,
@Nullable PagedList.BoundaryCallback<@NonNull Value> boundaryCallback,
@Nullable <ERROR CLASS> fetchScheduler,
@Nullable <ERROR CLASS> notifyScheduler,
@NonNull <ERROR CLASS> 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 PagedList
s, as well as their updates to that scheduler.
Parameters | |
---|---|
@NonNull PagedList.Config config |
Paging configuration. |
@Nullable Key initialLoadKey |
Initial load key passed to the first |
@Nullable PagedList.BoundaryCallback<@NonNull Value> boundaryCallback |
The boundary callback for listening to |
@Nullable <ERROR CLASS> fetchScheduler |
Scheduler used to fetch from |
@Nullable <ERROR CLASS> notifyScheduler |
Scheduler that receives |
@NonNull <ERROR CLASS> backpressureStrategy |
BackpressureStrategy for the Flowable to use. |
See also | |
---|---|
RxPagedListBuilder |
|
toObservable |
@NonNull
public static final <ERROR CLASS><@NonNull PagedList<@NonNull Value>> <Key extends Object, Value extends Object>toFlowable(
@NonNull DataSource.Factory<@NonNull Key, @NonNull Value> receiver,
int pageSize,
@Nullable Key initialLoadKey,
@Nullable PagedList.BoundaryCallback<@NonNull Value> boundaryCallback,
@Nullable <ERROR CLASS> fetchScheduler,
@Nullable <ERROR CLASS> notifyScheduler,
@NonNull <ERROR CLASS> 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 PagedList
s, as well as their updates to that scheduler.
Parameters | |
---|---|
int pageSize |
Page size. |
@Nullable Key initialLoadKey |
Initial load key passed to the first |
@Nullable PagedList.BoundaryCallback<@NonNull Value> boundaryCallback |
The boundary callback for listening to |
@Nullable <ERROR CLASS> fetchScheduler |
Scheduler used to fetch from |
@Nullable <ERROR CLASS> notifyScheduler |
Scheduler that receives |
@NonNull <ERROR CLASS> backpressureStrategy |
BackpressureStrategy for the Flowable to use. |
See also | |
---|---|
RxPagedListBuilder |
|
toObservable |
@NonNull
public static final <ERROR CLASS><@NonNull PagedList<@NonNull Value>> <Key extends Object, Value extends Object>toFlowable(
@NonNull Function0<@NonNull PagingSource<@NonNull Key, @NonNull Value>> receiver,
@NonNull PagedList.Config config,
@Nullable Key initialLoadKey,
@Nullable PagedList.BoundaryCallback<@NonNull Value> boundaryCallback,
@Nullable <ERROR CLASS> fetchScheduler,
@Nullable <ERROR CLASS> notifyScheduler,
@NonNull <ERROR CLASS> 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 PagedList
s, as well as their updates to that scheduler.
Parameters | |
---|---|
@NonNull PagedList.Config config |
Paging configuration. |
@Nullable Key initialLoadKey |
Initial load key passed to the first |
@Nullable PagedList.BoundaryCallback<@NonNull Value> boundaryCallback |
The boundary callback for listening to |
@Nullable <ERROR CLASS> fetchScheduler |
Scheduler used to fetch from |
@Nullable <ERROR CLASS> notifyScheduler |
Scheduler that receives |
@NonNull <ERROR CLASS> backpressureStrategy |
BackpressureStrategy for the Flowable to use. |
See also | |
---|---|
RxPagedListBuilder |
|
toObservable |
@NonNull
public static final <ERROR CLASS><@NonNull PagedList<@NonNull Value>> <Key extends Object, Value extends Object>toFlowable(
@NonNull Function0<@NonNull PagingSource<@NonNull Key, @NonNull Value>> receiver,
int pageSize,
@Nullable Key initialLoadKey,
@Nullable PagedList.BoundaryCallback<@NonNull Value> boundaryCallback,
@Nullable <ERROR CLASS> fetchScheduler,
@Nullable <ERROR CLASS> notifyScheduler,
@NonNull <ERROR CLASS> 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 PagedList
s, as well as their updates to that scheduler.
Parameters | |
---|---|
int pageSize |
Page size. |
@Nullable Key initialLoadKey |
Initial load key passed to the first |
@Nullable PagedList.BoundaryCallback<@NonNull Value> boundaryCallback |
The boundary callback for listening to |
@Nullable <ERROR CLASS> fetchScheduler |
Scheduler used to fetch from |
@Nullable <ERROR CLASS> notifyScheduler |
Scheduler that receives |
@NonNull <ERROR CLASS> backpressureStrategy |
BackpressureStrategy for the Flowable to use. |
See also | |
---|---|
RxPagedListBuilder |
|
toObservable |
@NonNull
public static final <ERROR CLASS><@NonNull PagedList<@NonNull Value>> <Key extends Object, Value extends Object>toObservable(
@NonNull DataSource.Factory<@NonNull Key, @NonNull Value> receiver,
@NonNull PagedList.Config config,
@Nullable Key initialLoadKey,
@Nullable PagedList.BoundaryCallback<@NonNull Value> boundaryCallback,
@Nullable <ERROR CLASS> fetchScheduler,
@Nullable <ERROR CLASS> 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 PagedList
s, as well as their updates to that scheduler.
Parameters | |
---|---|
@NonNull PagedList.Config config |
Paging configuration. |
@Nullable Key initialLoadKey |
Initial load key passed to the first |
@Nullable PagedList.BoundaryCallback<@NonNull Value> boundaryCallback |
The boundary callback for listening to PagedList load state. |
@Nullable <ERROR CLASS> fetchScheduler |
Scheduler used to fetch from |
@Nullable <ERROR CLASS> notifyScheduler |
Scheduler that receives |
See also | |
---|---|
RxPagedListBuilder |
|
toFlowable |
@NonNull
public static final <ERROR CLASS><@NonNull PagedList<@NonNull Value>> <Key extends Object, Value extends Object>toObservable(
@NonNull DataSource.Factory<@NonNull Key, @NonNull Value> receiver,
int pageSize,
@Nullable Key initialLoadKey,
@Nullable PagedList.BoundaryCallback<@NonNull Value> boundaryCallback,
@Nullable <ERROR CLASS> fetchScheduler,
@Nullable <ERROR CLASS> 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 PagedList
s, as well as their updates to that scheduler.
Parameters | |
---|---|
int pageSize |
Size of pages to load. |
@Nullable Key initialLoadKey |
Initial load key passed to the first |
@Nullable PagedList.BoundaryCallback<@NonNull Value> boundaryCallback |
The boundary callback for listening to |
@Nullable <ERROR CLASS> fetchScheduler |
Scheduler used to fetch from |
@Nullable <ERROR CLASS> notifyScheduler |
Scheduler that receives |
See also | |
---|---|
RxPagedListBuilder |
|
toFlowable |
@NonNull
public static final <ERROR CLASS><@NonNull PagedList<@NonNull Value>> <Key extends Object, Value extends Object>toObservable(
@NonNull Function0<@NonNull PagingSource<@NonNull Key, @NonNull Value>> receiver,
@NonNull PagedList.Config config,
@Nullable Key initialLoadKey,
@Nullable PagedList.BoundaryCallback<@NonNull Value> boundaryCallback,
@Nullable <ERROR CLASS> fetchScheduler,
@Nullable <ERROR CLASS> 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 PagedList
s, as well as their updates to that scheduler.
Parameters | |
---|---|
@NonNull PagedList.Config config |
Paging configuration. |
@Nullable Key initialLoadKey |
Initial load key passed to the first |
@Nullable PagedList.BoundaryCallback<@NonNull Value> boundaryCallback |
The boundary callback for listening to PagedList load state. |
@Nullable <ERROR CLASS> fetchScheduler |
Scheduler used to fetch from |
@Nullable <ERROR CLASS> notifyScheduler |
Scheduler that receives |
See also | |
---|---|
RxPagedListBuilder |
|
toFlowable |
@NonNull
public static final <ERROR CLASS><@NonNull PagedList<@NonNull Value>> <Key extends Object, Value extends Object>toObservable(
@NonNull Function0<@NonNull PagingSource<@NonNull Key, @NonNull Value>> receiver,
int pageSize,
@Nullable Key initialLoadKey,
@Nullable PagedList.BoundaryCallback<@NonNull Value> boundaryCallback,
@Nullable <ERROR CLASS> fetchScheduler,
@Nullable <ERROR CLASS> 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 PagedList
s, as well as their updates to that scheduler.
Parameters | |
---|---|
int pageSize |
Size of pages to load. |
@Nullable Key initialLoadKey |
Initial load key passed to the first |
@Nullable PagedList.BoundaryCallback<@NonNull Value> boundaryCallback |
The boundary callback for listening to |
@Nullable <ERROR CLASS> fetchScheduler |
Scheduler used to fetch from |
@Nullable <ERROR CLASS> notifyScheduler |
Scheduler that receives |
See also | |
---|---|
RxPagedListBuilder |
|
toFlowable |