【发布时间】:2013-04-09 09:26:16
【问题描述】:
在我的应用程序中,我使用了一个Activity,其中包含一个Fragment 和FragmentTabHost,因此它的所有选项卡都是nested Fragments。
在一个Activity 中,它包含一个Fragment 及其nested Fragment,我们可以使用onAttachedFragment() 获得对附加一个的引用。
但是如何从FragmentTabHost 获得对nested Fragment 的引用?
【问题讨论】:
标签: android android-fragments android-tabhost android-nested-fragment