Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

notifyDataSetChanged() causes application to crash

 
Sarah Ali
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All
I'm trying to refresh a list activity when activity resumes after data has changed
my class extends ListActivity
and here is what I'm using



which causes application to crash and I'm unable to see reason in logcat . any ideas please
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I might be wrong but I think invalidating views should be called after notifying. Try this and let us know.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic