I wonder if the following is the right way to detect remote changes in Java/Android using Core API v2:
ListFolderGetLatestCursorResult cursor = client.files().listFolderGetLatestCursor("");
ListFolderResult result = client.files().listFolderContinue(cursor.getCursor());
for (Metadata metadata : result.getEntries()) {
...
}
However I have not been able to detect remote folder changes with the above logic (if I use listFolder(), that works but it appears also the loop would visit every single file). Or should I keep cursor in persistent storage like SharePreferences?
Thanks in advance.