fragmenttabhost中获取当前tab中的控件的方法
1,获取当前页面的tabid
2,通过判断是第几个页签,然后对页签上的控件进行修改
switch(mTabHost.getCurrentTab()){
case 0:{
// 第0个页面 TextView tv = (TextView)findViewById(R.id.tvLeftUpValue);
tv.setText(ds.getDataItemS("x00020001"));
}
}
1453



被折叠的 条评论
为什么被折叠?



