IviPagingSourceBase
abstract class IviPagingSourceBase<E : Any> constructor : IviPagingSource<E>
Content copied to clipboard
Generic base class for all IviPagingSource implementations.
To implement an IviPagingSource that contains the code to load data from a data source, use MutableIviPagingSource as a base class.
Constructors
Properties
Functions
Link copied to clipboard
Signal the PagingSource to stop loading. Same as PagingSource.invalidate. See PagingSource.invalidate for details.
Link copied to clipboard
Registers an invalidated callback. Same as PagingSource.registerInvalidatedCallback. See PagingSource.registerInvalidatedCallback for details.
Link copied to clipboard
Unregisters an invalidated callback. Same as PagingSource.unregisterInvalidatedCallback. See PagingSource.unregisterInvalidatedCallback for details.
Inherited functions
Link copied to clipboard
abstract suspend fun load(loadParams: IviPagingSource.LoadParams): IviPagingSource.LoadResult<E>
Content copied to clipboard
Loads a page. Same as PagingSource.load. See PagingSource.load for details.