I want to provide a clickthrough on the list in a tab which opens
another view.
I need to open the new view within the same tab. I then need to
provide a back button on the changed layout to change the view to
original view.

I have tried this.

Intent intentA = new Intent(this, AView.class);

Now I am trying to access the tabSpec from main activity class
[MainTabView] and set the intent as follows.

MainTabView.tabSpec1.setContent(intentA);
MainTabView.mTabHost.setCurrentTab(0);

MainTabView.mTabHost.invalidate();

But this does not change the view immediately but changes it when I go
to another tab and come to the starting tab. How can I make it to
refresh it as soon as the content has been changed to another intent?

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to