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

11th Mar 2018, 7:20 AM
yousef mohamed
yousef mohamed - avatar
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
11th Mar 2018, 8:32 AM
Alex
Alex - avatar