if (tabHost.getCurrentTabTag().equals("tab2")) {
LinearLayout listLayout = (LinearLayout) tabHost
.getCurrentView().findViewById(
R.id.downloadmanage_linearlayou);
Adapter_Download_list downloadList = (Adapter_Download_list) listLayout
.getChildAt(0);
downloadList.refreshListData();
}
获取tabhost的当前view,并从中取出list,刷新
最新推荐文章于 2021-06-17 23:24:46 发布