I have a Main TabActivity with 5 tabs on it. Each tabs consists of an Asyntask which retrieves data and shows on a ListView.
On the top on this Main activity I have a button to do checkin. When I press the button, the content of the tabs change, so I would like to update the Listviews once I am back from the Chekin Activity.
But when I am back to the Main activity I dont know how to update the tabs inside, that is call to their AsyncTask and update the Listview of the current tab.
I have a Main TabActivity with 5 tabs on it. Each tabs consists of
Share
I solved the problem setting the listener to the button in the Main activity in the Activity assigned to the tabwidget. Therefore when the activity of the button finish update on the ActivityOnResult the listview, calling again the AsyncTask which gets data.