I am building an app that has a tab view and my tabview has two tabs. 1. Map View 2. List View
TabSpec mapTabSpec = tabHost.newTabSpec("tid1");
TabSpec listTabSpec = tabHost.newTabSpec("tid1");
mapTabSpec.setIndicator("ListView", getResources().getDrawable(R.drawable.logo))
.setContent(new Intent(this,ListViewEvents.class));
listTabSpec.setIndicator("Map View", getResources().getDrawable(R.drawable.logo))
.setContent(new Intent(this,MapViewEvents.class));
tabHost.addTab(mapTabSpec);
tabHost.addTab(listTabSpec);
In list View on click a list item i want to load another activity(page) which has to show under same tab ie. under the list view tab.
How i accomplish this?