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.

Advertising

3 - Function

  • getCount()
  • getColumnIndex(NameOfColumn)
  • moveToNext()
  • close it in a (try finally block)
android/cursor.txt · Last modified: 2017/09/20 22:34 by gerardnico