IviDataSourceIpcBinderInterface
interface IviDataSourceIpcBinderInterface<E : Any, Q : Any> : AsyncCapableBinderInterface
Content copied to clipboard
A binder specific IviDataSourceIpc interface.
This interface does not inherit IviDataSourceIpc as each function slightly differs.
The aidl
tool is not used to allow the use of suspend methods in the interface. The inner classes follow as much as possible the structure of the code generated by the aidl
tool.
Parameters
E
Element type of the data source.
Q
Query type of the data source.
Types
Functions
Link copied to clipboard
abstract suspend fun createIviPagingSource( listener: IBinder, pagingSourceId: IviPagingSourceId, query: Q): IviDataSourceIpc.CreateIviPagingSourceResult
Content copied to clipboard
Same as IviDataSourceIpc.createIviPagingSource with an additional listener.
Link copied to clipboard
abstract suspend fun invalidateIviPagingSource(listener: IBinder, pagingSourceId: IviPagingSourceId)
Content copied to clipboard
Same as IviDataSourceIpc.invalidateIviPagingSource with an additional listener.
Link copied to clipboard
abstract suspend fun loadPageFromIviPagingSource( listener: IBinder, pagingSourceId: IviPagingSourceId, loadParams: IviPagingSource.LoadParams): IviPagingSource.LoadResult<E>
Content copied to clipboard
Same as IviDataSourceIpc.loadPageFromIviPagingSource with an additional listener.