I have an android application which has 3 tabs and reusing the same Activity 
to display the contents for the 3 different tabs.

In the destination activity depending on the intent extra parameters during 
addition of the Tabs to the Tabhost, i am showing the desired contents to 
the user.

The problem is for the first tab and the last tab the extra information 
which kept during creation is correct, but the second Tab information is 
being overwritten by the 3rd Tab extra information.

How should i retain the extra information during the tab switching.

lets say, during the creation of tabs,
Tab1 - 01 ; Tab2 - 02, Tab3 -03
but the information that is stored is as below
Tab1 - 01; Tab2 - 03; Tab3- 03

so when ever i switch to the tab2, instead of showing Type-2 contents it is 
showing type-3 contents.

Please help me how to handle the values for the tabs.

The question can also be found at stackoverflow - Qn-4967523;Reuse same 
activity for different 
tabs<http://stackoverflow.com/questions/4967523/how-to-use-the-same-activity-for-3-different-tabs-in-tabactivity-with-different>

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