MutableIviPagingSource

Base class for IviPagingSource implementations that contains the the code to load data from a data source.

Constructors

Link copied to clipboard
constructor()

Inherited properties

Link copied to clipboard
override val invalid: Boolean

Functions

Link copied to clipboard
suspend override fun load(loadParams: IviPagingSource.LoadParams): IviPagingSource.LoadResult<E>

Loads a page. Same as PagingSource.load. See PagingSource.load for details.

Inherited functions

Link copied to clipboard
override fun invalidate()

Signal the PagingSource to stop loading. Same as PagingSource.invalidate. See PagingSource.invalidate for details.

Link copied to clipboard
override fun registerInvalidatedCallback(callback: () -> Unit)

Registers an invalidated callback. Same as PagingSource.registerInvalidatedCallback. See PagingSource.registerInvalidatedCallback for details.

Link copied to clipboard
override fun unregisterInvalidatedCallback(callback: () -> Unit)

Unregisters an invalidated callback. Same as PagingSource.unregisterInvalidatedCallback. See PagingSource.unregisterInvalidatedCallback for details.