我有来自游标加载器的游标。问题是,如果我尝试移动该光标,它不会向前移动并陷入无限循环。
public void onLoadFinished(Loader<Cursor> loader, final Cursor cursor) {
Log.d(TAG, "CALLED onLoadFinished");
...
else if(loader.getId() == LOADER_1)
{
while(cursor.moveToFirst())
{
Log.d(TAG, "LOOPING");
cursor.moveToNext();
}
}
}