Esempio n. 1
0
 @Override
 public void onDestroy() {
   if (cursor != null) {
     if (!cursor.isClosed()) {
       MyLogger.i(TAG, "onDestroy cursor.isClosed(): " + cursor.isClosed());
       cursor.close();
     }
   }
   super.onDestroy();
 }
Esempio n. 2
0
 @Override
 public void onActivityCreated(Bundle savedInstanceState) {
   Log.i(TAG, "onActivityCreated");
   toggleInput();
   super.onActivityCreated(savedInstanceState);
 }