LoadParams

sealed class LoadParams

Substitutes PagingSource.LoadParams.

The PagingSource.LoadParams.key property is substituted by the dataIndex property.

Inheritors

Types

Link copied to clipboard
data class Append(val dataIndex: Int, val loadSize: Int, val placeholdersEnabled: Boolean) : IviPagingSource.LoadParams
Link copied to clipboard
data class Prepend(val dataIndex: Int, val loadSize: Int, val placeholdersEnabled: Boolean) : IviPagingSource.LoadParams
Link copied to clipboard
data class Refresh(val dataIndex: Int, val loadSize: Int, val placeholdersEnabled: Boolean) : IviPagingSource.LoadParams

Properties

Link copied to clipboard
abstract val dataIndex: Int

The index of the data within the IviPagingSource.

Link copied to clipboard