Feb 24, 2017 · 1 min read
In some methods where using
SQLiteDatabase db = this.getWritableDatabase();
you are also closing it:
db.close();
but not in all. Is this on purpose, and why ?
In some methods where using
SQLiteDatabase db = this.getWritableDatabase();
you are also closing it:
db.close();
but not in all. Is this on purpose, and why ?