On Wed, Jul 13, 2011 at 3:53 PM, kamiseq <[email protected]> wrote:

> but then I realized that list will change any time user adds entry to db.
> so I added onPrepareDialog.
>

What I do is use
http://developer.android.com/reference/android/app/Activity.html#removeDialog(int)
after
the dialog is used so it's forced to be recreated with the latest data in
your list.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

-- 
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