Kotlin Common Questions
1. Where should we keep constants in Kotlin? if you need constants to be accessed globally use const as top-level properties (not inside a class). In order to do this create a Kotlin file named Constants.kt. The file would look like this: This way you will be able to access the constants from anywhere within the […]