0
How to hide text by button click in android studio in kotlin
how i can make a button press hide the what is written in text view in android studio using kotlin not java
1 Answer
0
I'm a kotlin/android noob myself, but try this:
YourTV.SetVisibility(INVISIBLE)
inside the onClickListener method of the button
edit:
https://stackoverflow.com/questions/44315775/visibility-not-working-with-kotlin