Hi, I've built an application that has 4 tabs ( search, list, detail
and history). Each tab interacts with each activity ( SeachActivity,
ListActivity, DetailActivity and HistoryActivity). The first tab takes
3 variables as input. By clicking on search button on Search tab, I
get the data from calling the webservice and the application will
automatically turn into tab 2 ( list tab ) showing all the information
in the listview. At the first time running, the application works
well, however when I click on tab 1 (search tab) to take other inputs
for searching, the data in listview ( in list tab) does not change.
But the data in listview changes when I click on tab 1 ( search tab )
and then click on tab 2 ( list tab) again. I use Activity group for my
tabhost, and everytime the tab changes its position , I use
getLocalActivityManager().destroy(....) to destroy the activity in tab
and then getLocalActivityManager().startActivity(....) to start a new
activity.

Could anybody give me a solution for this?

My English is not good, so sorry if I make any mistakes.

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