How fragment get context in Android? You can use getActivity() , which returns the activity associated with a fragment.
確定! 回上一頁