예제 #1
0
 private void onStartSwiper() {
   if (ex_cardSwiper == null) {
     ex_cardSwiper = new CardSwiper();
     ex_cardSwiper.onCreate(this, this);
   }
   ex_cardSwiper.onStart();
 }
예제 #2
0
 @Override
 protected void onResume() {
   if (!isPause) {
     super.onResume();
     return;
   } else {
     isPause = false;
   }
   Log.d(TAG, "NearFieldController onResume");
   if (ex_cardSwiper != null) {
     ex_cardSwiper.onStart();
   }
   if (ex_soundWave != null) {
     ex_soundWave.onStart();
   }
   if (ex_codeScanner != null) {
     ex_codeScanner.onResume();
   }
   super.onResume();
 }