Android应用开发—知识点汇总

获取Fragment的context: getActivity().getApplicationContext()或者getActivity() You can use getActivity(), which returns the activity associated with a fragment. The activity is a context (since Activi
相关文章
相关标签/搜索