Hi.

I am in a situation, where i have four tabs, first of them has some
list, and user can select an item from them and it is added to
favorites.
I am doing it with SharedPreferences.
It works fine.

But my favorites tab has one List View, which is creating some
problems.
It access the SharedPreferences file and gets info from it, creates an
array, and displays the values in the List View.

I want this ListView to be updated every time the user visits this
Favorite tab, since user will be adding favorites randomly and it
should reflect in Favorite without application restart.

Please assist guys.
How to refresh the List View?

Is there any other method of ListActivity which is called every time
the list is focused? then i can override it and add refresh the list.

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to