• Post Reply Bookmark Topic Watch Topic
  • New Topic

TextView and Button doesn't refresh/redraw/re-render

 
Ethan Bauer
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Code:


Screenshot:




Description:

I'm having a problem with changing the text of the Button ("Ej färdig med städningen" <--> "Färdig med städningen") and changing the text of the lower TextView ("Status: Städat" <--> "Status: Ej städat"). What happens is the text changes once, when I click the button, then the text doesn't change at all, although I've check LogCat and the boolean 'cleaned' is change and sent accordingly to the server. So it's just a matter of the TextView and the Button not refreshing/redrawing, how do I fix it?
 
The government thinks you are too stupid to make your own lightbulb choices. But this tiny ad thinks you are smart:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!