<@U0QFV4YQP>: 1. Use top level `const val STRING...
# android
d
@ericthelin: 1. Use top level
const val STRING_CONST = "stringvalue"
? 2. Use
Copy code
class MyClass {
  companion object {
      val STRING_CONST = "stringvalue"
  }

// MyClass.STRING_CONST
I know of these two methods, mostly use a first one