suppose
button1.setonclicklistener(){
button1.settext( "Awaiting")
}
is what I assigned first
then I assigned it to
button1.setonclicklisterner(){
button1.settext("player1 won")}
Now in my code I want this to be set permanently
as I am using it to make a tic tac toe game changes the button1.settext after every press
any idea how to make the text permanent?