SimpleCursorAdapter issue - “java.lang.IllegalStateException: trying to requery an already closed cursor”
问题 I've read similar topics and didn't find any answer that I could apply to my situation. Long story short, I have an AutoCompleteTextView with SimpleCursorAdapter . It queries my SQLiteDatabase for the matching drop down list of options. Everything works fine, but when I press the "Home" button ( onPause() -> onStop() ) if I've shortly before that used the AutoCompleteTextView , upon re-entering the app ( onRestart() -> onStart() -> onResume() ), I get this error: 03-05 19:17:42.186 13847