zcash-android-wallet-sdk / cash.z.wallet.sdk.ext.android / FlowPagedListBuilder

FlowPagedListBuilder

class FlowPagedListBuilder<Key, Value>

Types

MainThreadExecutor

class MainThreadExecutor : Executor

Constructors

<init>

Creates a FlowPagedListBuilder with required parameters.

FlowPagedListBuilder(dataSourceFactory: Factory<Key, Value>, pageSize: Int)FlowPagedListBuilder(dataSourceFactory: Factory<Key, Value>, config: Config, initialLoadKey: Key? = null, boundaryCallback: BoundaryCallback<*>? = null, notifyContext: CoroutineDispatcher = Dispatchers.Main, fetchContext: CoroutineDispatcher = Dispatchers.IO)

Functions

build

Constructs the Flow<PagedList>.

fun build(): Flow<PagedList<Value>>