requireItem

abstract fun requireItem(position: Int): T

Returns the non-nullable item for this adapter

Parameters

position

The current position of the adapter

Throws

when the item is null