开发者

how to communicate between tabhost and actvities

I create my code like that:

        final TabHost tabHost = getTabHost();
开发者_运维百科
        tabHost.addTab(tabHost.newTabSpec("Month")
                .setIndicator("Month")
                .setContent(new Intent(this, MonthView.class)));

How can i communicate with tabhost in monthview class?


Use the getParent() method on MonthView.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜