requireItem

open override fun requireItem(position: Int): LoadState

Returns the non-nullable item for this adapter

Parameters

position

The current position of the adapter

Throws

when the item is null