<@U1ENTFTA4> <@U6M6DATB5> In this article <http...
# android
k
@marstran @arekolek In this article https://wajahatkarim.com/2018/04/where-should-i-keep-my-constants-in-kotlin/ For example, overall constants will be something like:
Copy code
@file:JvmName("Constants")

package com.example.package.app

const val DB_NAME = "myofflinedb"
const val BASE_URL = "<http://myexample.baseurl.com/>"
const val DUMMY_VALUE = 14
Your file name can be anything but you can access the values by:
Copy code
var mydb = Constants.DB_NAME
var myUrl = Constants.BASE_URL