Android - Cursor

> Android

1 - About

cursor implementation in Android.

A cursor is what a content provider implementation will return in response of a query.

Many iterators in Java implement the Iterator interface, but Cursor does not implement this particular interface.


3 - Function

  • getCount()
  • getColumnIndex(NameOfColumn)
  • moveToNext()
  • close it in a (try finally block)