Answer the question
In order to leave comments, you need to log in
How to correctly determine if something came to the request from the database in the Cursor?
Good , I
thought, but how do they usually find out if the Cursor is empty,
I write like this
Cursor cursor = sql.rawQuery("SELECT * FROM " + .....);
if (cursor.moveToNext()) {
cursor.moveToFirst();
.....}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question