Thanks both of you. It worked! On Oct 28, 5:35 pm, Kostya Vasilyev <[email protected]> wrote: > 28.10.2011 19:12, André пишет: > > > cursor.moveToFirst(); > > while (cursor.moveToNext()) { > > ...} > > > When I use this code the first row in my cursor seems to be skipped. > > Of course - the code moves to first row, then moves to next row, then > does "..." > > > It feels wrong to make the cursor jump back one step in while every > > time. > > How would I get the first row ? > > cursor.moveToFirst, then do "..." > > or cursor.moveToNext() once, then do "..." > > > > > //André > > -- > Kostya Vasilyev
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

