android-components / mozilla.components.browser.tabstray / TabsAdapter / displaySessions

displaySessions

fun displaySessions(sessions: List<Session>, selectedIndex: Int): Unit (source)

Overrides TabsTray.displaySessions

Displays the given list of sessions.

This method will be invoked with the initial list of sessions that should be displayed.

Parameters

sessions - The list of sessions to be displayed.

selectedIndex - The list index of the currently selected session.