📜  kotlin 全局常量 - Kotlin 代码示例

📅  最后修改于: 2022-03-11 14:53:33.083000             🧑  作者: Mango

代码示例1
const val PRESENTATION_MODE_PRESENTING = "presenting"
const val PRESENTATION_MODE_EDITING = "editing"

object DbConstants {
  const val PRESENTATION_MODE_PRESENTING = "presenting"
  const val PRESENTATION_MODE_EDITING = "editing"
}