0

Let's say that I have a Cursor that has 50 records in it and it is bound to a ListView using a ViewBinder. I'd like to find a specific row(example: _id 35) and make sure that record is visible to the user on the android device. Is this possible?

user
  • 86,916
  • 18
  • 197
  • 190
proudgeekdad
  • 3,424
  • 6
  • 42
  • 40

1 Answers1

1

What is find a specific row? You can call Cursor c = (Cursor) adapter.getItem(position) to get a cursor pointing to the position the user selected. Then you can retrieve the data like cursor.getString(cursor.getColumnIndexOrThrow("columnName")).

Randy Sugianto 'Yuku'
  • 71,383
  • 57
  • 178
  • 228