如果我在 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),
... ...
}