开发者

How to communicate between tabhost and new actvities

开发者 https://www.devze.com 2023-03-22 02:44 出处:网络
I just encountered a problem in my android application.There are five tabs in my tabhost, which can hold five activities. If o开发者_运维百科ne of them jumps to another activity (not in tabhost), the

I just encountered a problem in my android application. There are five tabs in my tabhost, which can hold five activities. If o开发者_运维百科ne of them jumps to another activity (not in tabhost), the tabhost is missing, but I want all of my activities to display in tabhost.

How can I do this and how do I get/put data between two activities in tabhost?


You could use an ActivityGroup inside your TabHost to achieve this (i.e. the content shown for an individual tab is an ActivityGroup)

0

精彩评论

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

关注公众号