安卓:你能嵌套片段? [英] Android: Can you nest Fragments?
本文介绍了安卓:你能嵌套片段?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否有可能粘片段
在另一个布局片段
?有没有人尝试过呢?
Is it possible to stick a Fragment
in the layout of another Fragment
? Has anyone tried this?
推荐答案
终于来了!在Android 4.2更新带有嵌套的片段默认支持,同时兼容: 官方NestedFragments 。更重要的是,嵌套片段的支持,在 V4支持库!
Finally! the android 4.2 update comes with default support for nested fragments, also compatible: Official NestedFragments. What's more, the support of the nested Fragments in announced in the latest 11th revision of the v4 support library!
这篇关于安卓:你能嵌套片段?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文