zotero / zotero-android

Zotero for Android
Other
376 stars 36 forks source link

Items list doesn't update during sync #151

Open dstillman opened 3 months ago

dstillman commented 3 months ago

https://forums.zotero.org/discussion/117219/zotero-android-synced-items-do-not-appear-unless-view-refreshed

I haven't tested with a current build

Dima-Android commented 2 months ago

I wasn't able to reproduce it neither on latest build nor on 80 for both My Library and Groups. List does get refreshed both on websocket update and pull to refresh. I think what is happening is that if user is sorting by Date Modified Descending then new items simply appear above the current top item. So what user needs to do is simply slightly swipe with his finger to scroll a little bit up to see them. When user goes to collections list and back to all items list what's happening is that we display list from top most scroll position and that's why new items 'appear'.

Please confirm with the user if simply scolling up after sync displays new items.

We could of course auto scroll to top-most scroll position after each sync, but do we actually want to do this?