requireItem

open override 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