SeasonData

data class SeasonData(val season: Int, val name: String? = null, val displaySeason: Int? = null)(source)

Data class holds season info.

Parameters

season

To be mapped with episode season, not shown in UI if displaySeason is defined

name

To be shown next to the season like "Season

$displaySeason $

name" but if displaySeason is null then "$name"

displaySeason

What to be displayed next to the season name, if null then the name is the only thing shown.

Constructors

Link copied to clipboard
constructor(season: Int, name: String? = null, displaySeason: Int? = null)

Properties

Link copied to clipboard
val displaySeason: Int? = null
Link copied to clipboard
val name: String? = null
Link copied to clipboard
val season: Int