Android开发中TabHost切换实时刷新的问题
tabHost.addTab(tabHost.newTabSpec("tab3")
.setIndicator("destroy")
.setContent(new Intent(this, SecondTab.class)
.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP)));
在点击the tab indicator的时候,就能实时刷新。
转载自:IT驿站[http://www.blogchen.com]

浙公网安备 33010602011771号