Monday, 15 June 2015

android - Is it possible to compare two cursors? -



android - Is it possible to compare two cursors? -

i need check if 2 cursors pointing @ same rows same values. possible?

more details:

i'm loading info own contentprovider i'm sending request server , updating info within contentprovider new values. if values changed - need notify user can update data.

in sqlite, rows not have identity separate column values (but rowid 1 of these values).

what want requires info has unique column(s) part of cursor, either rowid, or other key value guaranteed have no duplicates.

otherwise, can never know if see 2 records happen have same values in columns.

android sqlite

No comments:

Post a Comment