getItemCount

abstract fun getItemCount(): Int

Returns the number of items in the adapter.