I have asked the same thing a few days back but could not get a working solution, so here I am again struck at this point.
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.
I am trying to access the tabSpec from main activity class[MainTabView] and set the intent as follows.
Using java Syntax Highlighting
MainTabView.tabSpec1.setContent(new Intent(this, AView.class));
Parsed in 0.011 seconds, using GeSHi
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?
Please share your ideas on this. Alternative solutions/ideas are also welcome.