在fragment中获取activity的组件

在fragment中使用getActivity()即可获取activity的引用

posted @ 2016-05-12 17:13  zqxLonely  阅读(1243)  评论(0编辑  收藏  举报