示例#1
0
 @Override
 public void onAttach(Activity activity) {
   super.onAttach(activity);
   mActivity = (AMActivity) activity;
   settings = PreferenceManager.getDefaultSharedPreferences(mActivity);
   editor = settings.edit();
 }
示例#2
0
 @Override
 public void onAttach(Activity activity) {
   super.onAttach(activity);
   mActivity = (AMActivity) activity;
 }