• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
reply
    Bookmark Topic Watch Topic
  • New Topic