Saturday, October 20, 2012

[android-developers] Re: ListView doesn't refresh when last item is deleted

 I've also had problems getting notify to work, and resorted to using "invalidate()" (I think that's the name, but which from memory maybe deprecated??) and even just detecting that change in my List Activity and doing the query for the cursor again.

I'm pretty sure there is a more recommended, elegant, way of doing this (notify()!) but I haven't found one yet that works reliably.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate