android-components / mozilla.components.feature.tabs.toolbar / TabCounterToolbarButton

TabCounterToolbarButton

class TabCounterToolbarButton : Action (source)

A Toolbar.Action implementation that shows a TabCounter.

Constructors

Name Summary
<init> TabCounterToolbarButton(sessionManager: SessionManager, showTabs: () -> Unit)
A Toolbar.Action implementation that shows a TabCounter.

Inherited Properties

Name Summary
visible open val visible: () -> Boolean

Functions

Name Summary
bind fun bind(view: <ERROR CLASS>): Unit
createView fun createView(parent: <ERROR CLASS>): <ERROR CLASS>

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.