Posts by SkynetAdmin • 11 points
1 post
-
1
votes3
answers87
viewsA: In the Kotlin language, how to access a public variable that is in one class, through another class?
Considering that it would not be a problem to have a "static" variable in the source class, a solution would be to use "Companion Object": /** * You can edit, run, and share this code. *…