In recent days, I often got a lot of error messages due to a database leak in my application, so now I open the database, get query results from it and close the DB again.
But I also use cursoradapter for my autocomplete.
Should I also do it this way: open the database, get the cursor, close the database ?!
I mean, I don’t have any problems because I don’t do it, but ...
I need advice from experts, advice from you
source
share