| Author |
notifyDataSetChanged() causes application to crash
|
Sarah Ali
Greenhorn
Joined: Mar 09, 2012
Posts: 1
|
|
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
Joined: Nov 08, 2003
Posts: 3359
|
|
|
I might be wrong but I think invalidating views should be called after notifying. Try this and let us know.
|
 |
 |
|
|
subject: notifyDataSetChanged() causes application to crash
|
|
|