getItemCount

open override fun getItemCount(): Int

Returns the total number of items in the data set.

Return

The total number of chat messages.