アプリケーションを kotlin で使用しても安全enum
ですか? このような:
enum class Labels(title: String, type: Int) {
PERFORM(App.application.getString(R.string.perform), 0),
DUTY(App.application.getString(R.string.duty), 1),
... ...
}
アプリケーションを kotlin で使用しても安全enum
ですか? このような:
enum class Labels(title: String, type: Int) {
PERFORM(App.application.getString(R.string.perform), 0),
DUTY(App.application.getString(R.string.duty), 1),
... ...
}