开发者

Android tabHost accessing specific tabs

开发者 https://www.devze.com 2023-01-21 23:47 出处:网络
I have a tabHost with tree tabs. How can I access a specific tab from the tabHost activity when this tab is not active at the moment.

I have a tabHost with tree tabs. How can I access a specific tab from the tabHost activity when this tab is not active at the moment. And a second question to this topic..开发者_JS百科. How can I access the activity of a tab from another tab?

I need this, because I have to update the second tab when something changes on the first tab.

Thank you


This is it:

mTabHost.getTabWidget().getChildAt(2)
0

精彩评论

暂无评论...
验证码 换一张
取 消