getItemCount

open fun getItemCount(): Int

Returns the total number of items in the data set held by the adapter.

Return

The total number of items in this adapter.