public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View parentView = inflater.inflate(R.layout.fragment1, container, false); SharedPreferences pre = getActivity().getSharedPeferences(CFG,0); //getSharedPeferences("myinfo",Context.MODE_PRIVATE); return parentView; }
时间: 2024-08-26 17:55:27