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