This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Android and the fly likes TextView and Button doesn't refresh/redraw/re-render Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "TextView and Button doesn Watch "TextView and Button doesn New topic
Author

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

Ethan Bauer
Greenhorn

Joined: Sep 22, 2010
Posts: 18
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?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: TextView and Button doesn't refresh/redraw/re-render