Nguyễn Cap Tuyến
New member
How can I tell if SQLite database is empty Android?
Answer
7 Answers. mCursor. moveToFirst() Returns a boolean of whether it successfully found an element or not. Use it to move to the first row in the cursor and at the same time check if a row actually exists.
Answer
7 Answers. mCursor. moveToFirst() Returns a boolean of whether it successfully found an element or not. Use it to move to the first row in the cursor and at the same time check if a row actually exists.