tags:

views:

19

answers:

0

In a previous question i asked how to make one activity to reload/refresh periodically to always present the latest information.

Now i have a follow-up question. I changed my app to have 2 tabs. Each tab starts its own activity. The first tab uses the activity described above and after i added the periodic update (using Timer) to that tab/activity there is a quite large delay when i try to switch to the other tab.

Would it be better to solve this by using views in each tab? In that case how do i make so that only one of the tabs/views are updated periodically?