setCounter

open fun setCounter(itemId: Int, counterText: String?)

Устанавливает текст счётчика для элемента по ID.