2015年7月3日
摘要: 1.要在需要使用fragment的Activity布局中添加标签给fragment预留位置;2.指定fragment对应的类,在类中指明fragment对应的布局文件,实现其他逻辑。3.在Activity中通过getFragmentManager()方法得到FragmentManager对象引用4.... 阅读全文
posted @ 2015-07-03 11:05 谦行者 阅读(237) 评论(0) 推荐(0) 编辑