IviDataSourceIpcBinderProxy

Client side implementation of an IviDataSourceIpc interface.

Parameters

E

Element type of the data source.

Q

Query type of the data source.

Constructors

Link copied to clipboard
constructor(binderData: IviDataSourceIpcBinderData<E, Q>, binderContext: BinderContext)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override var listener: IviDataSourceListener?

Listener of the IviDataSource.

Functions

Link copied to clipboard

Creates an IviPagingSource for the given query and associate it with the given pagingSourceId.

Link copied to clipboard
open suspend override fun invalidateIviPagingSource(pagingSourceId: IviPagingSourceId)

Invalidates an IviPagingSource identified by pagingSourceId. The IviPagingSource must have been created though createIviPagingSource before this function can be used.

Link copied to clipboard

Load a page from an IviPagingSource identified by pagingSourceId and the given loadParams. Returns the result. The IviPagingSource must have been created through createIviPagingSource before this function can be used.