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 <
[email protected]> wrote:

>
>
> On Tue, Jun 19, 2012 at 1:38 PM, Live Happy <[email protected]> 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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to