Re: [android-developers] refresh list
refresh activity is not good solution coz i update the database from the same activity and i want the databe to be refreshed after a button clicked not all the acitvity
On Tue, Jun 19, 2012 at 11:34 AM, Narendra Singh Rathore <nsr.curious@gmail.com> wrote:
--On Tue, Jun 19, 2012 at 1:38 PM, Live Happy <livehappy7@gmail.com> wrote:
i have list based on cursor adapter but the problem is when i add new item to the database i cant refresh the list, i try many way re-query the cursor and then notifyDataSetChanged.but not work so how i can refresh the list
Why don't you refresh your activity at that moment? Please try that.
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
--
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