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

# TabCounter

`open class TabCounter : RelativeLayout` (source)

### Constructors

<init> | `TabCounter(context: Context, attrs: AttributeSet? = null, defStyle: Int = 0)`

### Functions

getText | `fun getText(): CharSequence`
setCount | `fun setCount(count: Int): Unit`
setCountWithAnimation | `fun setCountWithAnimation(count: Int): Unit`

### Extension Properties

isLTR | `val View.isLTR: Boolean` Is the horizontal layout direction of this view from Left to Right?
isRTL | `val View.isRTL: Boolean` Is the horizontal layout direction of this view from Right to Left?

### Extension Functions

forEach | `fun ViewGroup.forEach(action: (View) -> Unit): Unit` Performs the given action on each View in this ViewGroup.
hideKeyboard | `fun View.hideKeyboard(): Unit` Hides the soft input window.
isGone | `fun View.isGone(): Boolean` Returns true if this view's visibility is set to View.GONE.
isInvisible | `fun View.isInvisible(): Boolean` Returns true if this view's visibility is set to View.INVISIBLE.
isVisible | `fun View.isVisible(): Boolean` Returns true if this view's visibility is set to View.VISIBLE.
showKeyboard | `fun View.showKeyboard(flags: Int = InputMethodManager.SHOW_IMPLICIT): Unit` Tries to focus this view and show the soft input window for it.