Exemplo n.º 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);
 }
Exemplo n.º 2
0
 @Override
 public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   if (getArguments() != null) {
     mParam1 = getArguments().getString(ARG_PARAM1);
     mParam2 = getArguments().getString(ARG_PARAM2);
   }
 }
Exemplo n.º 3
0
 @Override
 public void onDetach() {
   super.onDetach();
   mListener = null;
 }