https://kotlinlang.org logo
#android
Title
# android
a

adam-mcneilly

11/30/2017, 4:30 PM
I have always just done stuff like this:
Copy code
fun View.show() { this.visiblity = View.VISIBLE }

fun View.hide() { this.visibility = View.GONE }