getItem

open fun getItem(position: Int): BaseMessage

Returns the BaseMessage in the data set held by the adapter.

Return

The BaseMessage to retrieve the position of in this adapter.

Parameters

position

The position of the item within the adapter's data set.