Sort

abstract class Sort(name: String, val values: Array<String>, state: AnimeFilter.Sort.Selection? = null) : AnimeFilter<AnimeFilter.Sort.Selection?> (source)

A control for sorting, with support for the ordering. The state indicates which item index is selected and if the sorting is ascending.

Constructors

Link copied to clipboard
constructor(name: String, values: Array<String>, state: AnimeFilter.Sort.Selection? = null)

Types

Link copied to clipboard
data class Selection(val index: Int, val ascending: Boolean)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard