Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

android java how to clear or close cursor

Cursor cursor = db.rawQuery(...);
try {
  while (cursor.moveToNext()) {
    ...
  }
} finally {
  cursor.close();
}
Source by www.tabnine.com #
 
PREVIOUS NEXT
Tagged: #android #java #clear #close #cursor
ADD COMMENT
Topic
Name
7+2 =