int row = mCursor.getCount();
for (int i = 0; i < row; i++) {
if (mCursor.moveToPosition(i)){
int val = mCursor.getInt(mCursor.getColumnIndexOrThrow(UTILI_COLLOC_ID_UTILI))
}
}
I do not understand, because I have 2 lines in my request. But when I want to read the second line with "mCursor.moveToPosition (i)", then it is wrong ... Why?
source
share