Tab

data class Tab(val id: String, val title: String, val isSort: Boolean = false, val extras: Map<String, String> = emptyMap())

A data class representing a tab

Constructors

Link copied to clipboard
constructor(id: String, title: String, isSort: Boolean = false, extras: Map<String, String> = emptyMap())

Properties

Link copied to clipboard

Any extra data you want to associate with the tab

Link copied to clipboard
val id: String

The id of the tab

Link copied to clipboard
val isSort: Boolean = false

Whether the tab is a sort tab, if true, it will not ne considered for loading in the Feed.loadAll method.

Link copied to clipboard

The title of the tab