android-components / mozilla.components.feature.tabs.tabstray / TabsTrayPresenter

TabsTrayPresenter

class TabsTrayPresenter (source)

Presenter implementation for a tabs tray implementation in order to update the tabs tray whenever the state of the session manager changes.

Constructors

Name Summary
<init> TabsTrayPresenter(tabsTray: TabsTray, store: BrowserStore, tabsFilter: (TabSessionState) -> Boolean, closeTabsTray: () -> Unit)
Presenter implementation for a tabs tray implementation in order to update the tabs tray whenever the state of the session manager changes.

Functions

Name Summary
start fun start(): Unit
stop fun stop(): 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.