相反,如果此fragment绑定的是一个context的话,可能会返回null。因为getActivity()大部分都是在fragment中使用到,而fragment需要依赖于activity,所有 ...
確定! 回上一頁