コード例 #1
0
 @Override
 public void onPause() {
   super.onPause();
   ClientManager.get(getActivity()).saveClients();
 }
コード例 #2
0
 @Override
 public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   mClientId = UUID.fromString(getArguments().getSerializable(EXTRA_CLIENT_ID).toString());
   mClient = ClientManager.get(getActivity()).getClient(mClientId);
 }