IviDataSourceIpcBinderInterfaceStubImpl
class IviDataSourceIpcBinderInterfaceStubImpl<E : Any, Q : Any>(iviDataSource: IviDataSource<E, Q>, binderContext: BinderContext, queryReader: Parcel.() -> Q, elementWriter: Parcel.(E) -> Unit) : IviDataSourceIpcBinderInterface.Stub<E, Q>
Service side implementation of the IviDataSourceIpcBinderInterface.
Parameters
E
Element type of the data source.
Q
Query type of the data source.
Constructors
Link copied to clipboard
constructor(iviDataSource: IviDataSource<E, Q>, binderContext: BinderContext, queryReader: Parcel.() -> Q, elementWriter: Parcel.(E) -> Unit)
Functions
Link copied to clipboard
open suspend override fun createIviPagingSource(listener: IBinder, pagingSourceId: IviPagingSourceId, query: Q): IviDataSourceIpc.CreateIviPagingSourceResult
Same as IviDataSourceIpc.createIviPagingSource with an additional listener.
Link copied to clipboard
open suspend override fun invalidateIviPagingSource(listener: IBinder, pagingSourceId: IviPagingSourceId)
Same as IviDataSourceIpc.invalidateIviPagingSource with an additional listener.
Link copied to clipboard
open suspend override fun loadPageFromIviPagingSource(listener: IBinder, pagingSourceId: IviPagingSourceId, loadParams: IviPagingSource.LoadParams): IviPagingSource.LoadResult<E>
Same as IviDataSourceIpc.loadPageFromIviPagingSource with an additional listener.
Inherited functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Calls IBinder.unlinkToDeath and catches NoSuchElementException.