Win a copy of Java Persistence with Spring Data and Hibernate this week in the Spring forum!
  • 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
  • Ron McLeod
  • Tim Cooke
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Jeanne Boyarsky
Saloon Keepers:
  • Stephan van Hulst
  • Carey Brown
  • Tim Holloway
  • Piet Souris
Bartenders:

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?
 
roses are red, violets are blue. Some poems rhyme and some are a tiny ad:
The Low Tech Laboratory Movie Kickstarter is LIVE NOW!
https://www.kickstarter.com/projects/paulwheaton/low-tech
reply
    Bookmark Topic Watch Topic
  • New Topic