Comment by vips7L
Maybe you can elaborate but enums in Java or Kotlin easily have data associated with them.
enum class Color(val rgb: Int) {
RED(0xFF0000),
GREEN(0x00FF00),
BLUE(0x0000FF)
}Maybe you can elaborate but enums in Java or Kotlin easily have data associated with them.
enum class Color(val rgb: Int) {
RED(0xFF0000),
GREEN(0x00FF00),
BLUE(0x0000FF)
}