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

See PagingSource.LoadParams.Append.

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

See PagingSource.LoadParams.Prepend.

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

See PagingSource.LoadParams.Refresh.

Properties

Link copied to clipboard
abstract val dataIndex: Int

The index of the data within the IviPagingSource.

Link copied to clipboard
abstract val loadSize: Int

See PagingSource.LoadParams.loadSize.

Link copied to clipboard

See PagingSource.LoadParams.placeholdersEnabled.