0

アプリケーションを 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),
     ... ...
}
4

1 に答える 1