When I look at examples from tutorials I see that for getReadableDatabase
the db is not closed at the end but for getWritableDatabase
it is always closed at the end. Why is that? Even the docs specify that I must call close on getWritableDatabase
. I have read both docs, so please do not simple quote the docs to me. Thanks.
Aucun commentaire:
Enregistrer un commentaire