UnitOptionEntry

data class UnitOptionEntry(val value: Int, val label: String? = null, @StringRes val labelRes: Int? = null) : Serializable

A class that acts as a value item that can be selected for a unit.

Parameters

value

The actual value.

label

The textual representation of the value.

labelRes

The textual representation of the value by resource.

Constructors

Link copied to clipboard
constructor(value: Int, label: String? = null, @StringRes labelRes: Int? = null)

Properties

Link copied to clipboard
val label: String? = null
Link copied to clipboard
val labelRes: Int? = null
Link copied to clipboard
val value: Int