Пример #1
0
 @Override
 public void onViewCreated(View view, Bundle savedInstanceState) {
   super.onViewCreated(view, savedInstanceState);
   mParam1 = getArguments().getString(ARG_PARAM1);
   mParam2 = getArguments().getString(ARG_PARAM2);
   setActionBarTitle(mParam1);
 }
Пример #2
0
 @Override
 public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   if (getArguments() != null) {
     mParam1 = getArguments().getString(ARG_PARAM1);
     mParam2 = getArguments().getString(ARG_PARAM2);
   }
 }
Пример #3
0
 @Override
 public void onDetach() {
   super.onDetach();
   mListener = null;
 }