@Override public void onAttach(Activity activity) { super.onAttach(activity); mActivity = (AMActivity) activity; settings = PreferenceManager.getDefaultSharedPreferences(mActivity); editor = settings.edit(); }
@Override public void onAttach(Activity activity) { super.onAttach(activity); mActivity = (AMActivity) activity; }