You can use getActivity() method to get context or You can use getContext() method . View root = inflater.inflate(R.layout.fragment_slideshow, ...
確定! 回上一頁