while (cursor != null && cursor.moveToNext())