android-components / mozilla.components.browser.tabstray

Package mozilla.components.browser.tabstray

Types

Name Summary
BrowserTabsTray class BrowserTabsTray : RecyclerView, TabsTray
A customizable tabs tray for browsers.
TabTouchCallback open class TabTouchCallback : SimpleCallback
An ItemTouchHelper.Callback for support gestures on tabs in the tray.
TabViewHolder class TabViewHolder : ViewHolder, Observer
A RecyclerView ViewHolder implementation for “tab” items.
TabsAdapter class TabsAdapter : Adapter<TabViewHolder>, TabsTray, Observable<Observer>
RecyclerView adapter implementation to display a list/grid of tabs.

Properties

Name Summary
DEFAULT_ITEM_BACKGROUND_COLOR const val DEFAULT_ITEM_BACKGROUND_COLOR: Int
DEFAULT_ITEM_BACKGROUND_SELECTED_COLOR const val DEFAULT_ITEM_BACKGROUND_SELECTED_COLOR: Int
DEFAULT_ITEM_TEXT_COLOR const val DEFAULT_ITEM_TEXT_COLOR: Int
DEFAULT_ITEM_TEXT_SELECTED_COLOR const val DEFAULT_ITEM_TEXT_SELECTED_COLOR: Int