android-components / mozilla.components.ui.tabcounter / TabCounter

TabCounter

open class TabCounter (source)

Constructors

Name Summary
<init> TabCounter(context: <ERROR CLASS>, attrs: <ERROR CLASS>? = null, defStyle: Int = 0)

Functions

Name Summary
getText fun getText(): CharSequence
Returns current tab count from tab counter view.
setCount fun setCount(count: Int): Unit
setCountWithAnimation fun setCountWithAnimation(count: Int): Unit

Extension Functions

Name Summary
loadResourceAsString fun Any.loadResourceAsString(path: String): String
Loads a file from the resources folder and returns its content as a string object.