{% setvar book_path %}/reference/kotlin/multifile/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

multifile

Extension functions summary

PagingData<T>
<T : Any> PagingData<T>.filterAsync(predicate: (T) -> Single<Boolean>)

Returns a PagingData containing only elements matching the given predicate.

Extension properties summary

Observable<PagingData<Value>>

An Observable of PagingData, which mirrors the stream provided by Pager.flow, but exposes it as an Observable.

Extension functions

filterAsync

fun <T : Any> PagingData<T>.filterAsync(predicate: (T) -> Single<Boolean>): PagingData<T>

Returns a PagingData containing only elements matching the given predicate.

Extension properties

observable

@ExperimentalCoroutinesApi
val Pager<Key, Value>.observableObservable<PagingData<Value>>

An Observable of PagingData, which mirrors the stream provided by Pager.flow, but exposes it as an Observable.