Hi folks,

I am working on an app in which I need to show three Tabs, on Logout I want
to show remove these abs and on login I want to show these tabs with new
user's data who just logged in.
For this I used

*On Logout:*
*
*
            this.tabHost.clearAllTabs();

*On Login:*
*
*
*           *intent = new Intent(this, Profile.class);
   spec =
mTabHost.newTabSpec("Profile").setIndicator("Profile",res.getDrawable(R.drawable.ic_launcher)).setContent(intent);
   mTabHost.addTab(spec);

But it doesn't show my contents of new user, but show old contents.

Any one, any thoughts.

Thanks,
Sam.

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