如何在一次调用后刷新从 Android tabview 调用的 webview,例如,如果我调用了一个与 tabview 连接的活动,那么它一旦被调用就不会刷新。有没有办法做到这一点,,
代码:
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
TabHost tabHost = getTabHost();
tabHost.addTab(createTab1(aActivity.class, "a", "", R.drawable.ic_tab_a));
tabHost.addTab(createTab2(bActivity.class, "b", "", R.drawable.ic_tab_b));
tabHost.addTab(createTab3(cActivity.class, "c", "", R.drawable.ic_tab_c));
tabHost.setCurrentTab(0);
}