android-components / mozilla.components.concept.tabstray / TabsTray / displaySessions

# displaySessions

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

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.