在Fragment中的使用方式則為: 1.getActivity();//獲取包含該fragment的活動(activity)上下文 2.getContext();//獲取該fragment上下文
確定! 回上一頁