lundi 9 août 2021

Android : How to get the textview value and compare

Iam a newbie So How to get the number value of textview and compare it that if it less than a 100 for example some other textview text changes to whatever i want ????

for example that if {textview1 < 25 || > 100} i want to change the textview2 text to be "Hello" else textview2 text "Goodbye"

Aucun commentaire:

Enregistrer un commentaire