android global variable
if you use Kotlin, you can just create "object"
object Singletone {
val BASE_URL:String = "https://www.google.com/"; // put here any variable
//that you want to access
}
and just call it like this
baseUrl( Singletone.BASE_URL )