android-components / mozilla.components.browser.tabstray / BrowserTabsTray


class BrowserTabsTray : RecyclerView, TabsTray (source)

A customizable tabs tray for browsers.


Name Summary
<init> BrowserTabsTray(context: <ERROR CLASS>, attrs: <ERROR CLASS>? = null, defStyleAttr: Int = 0, tabsAdapter: TabsAdapter = TabsAdapter())
A customizable tabs tray for browsers.


Name Summary
tabsAdapter val tabsAdapter: TabsAdapter


Name Summary
asView fun asView(): <ERROR CLASS>
Convenience method to cast this object to an Android View object.
onDetachedFromWindow fun onDetachedFromWindow(): 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.