@Override
 public void onViewCreated(View view, Bundle savedInstanceState) {
   super.onViewCreated(view, savedInstanceState);
   mParam1 = getArguments().getString(ARG_PARAM1);
   mParam2 = getArguments().getString(ARG_PARAM2);
   setActionBarTitle(mParam1);
 }
 @Override
 public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   if (getArguments() != null) {
     mParam1 = getArguments().getString(ARG_PARAM1);
     mParam2 = getArguments().getString(ARG_PARAM2);
   }
 }
 @Override
 public void onDetach() {
   super.onDetach();
   mListener = null;
 }