getItem

open override fun getItem(position: Int): Any

Get the data item associated with the specified position in the data set.

Return

Data at the specified position.

Parameters

position

Position of the item whose data we want within the adapter's data set.