top level methods are useful when writing Util cla...
# android
p
top level methods are useful when writing Util classes. Example: https://github.com/TonnyL/Light/blob/master/light/src/main/java/io/github/tonnyl/light/Light.kt
Notice the
@file:JvmName("Light")
allowing to use the Java friendly
Light.func()
instead of
LightKt.func()