EnumConverter

class EnumConverter<T : Enum<*>>(entries: List<T>) : SettingsConverter<T, Int>

Constructors

Link copied to clipboard
constructor(entries: List<T>)

Functions

Link copied to clipboard
open override fun from(data: Int): T
Link copied to clipboard
open override fun to(data: T): Int