-
Notifications
You must be signed in to change notification settings - Fork 1.3k
"waiting for first sync" #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I can't seem to reproduce this bug, but I think it might have something to do with the fact that the clearSyncMessage() method in ContributionsListFragment.java is never called:
Assuming that the IF statement to display that message is correct:
Then I would probably need to call clearSyncMessage() at an appropriate time to fix this bug? But how do we know when the sync has occurred? |
Not sure if this is a bug, or me as a new user (at that time) misunderstanding what was happening. If the latter, I feel that the UI could be improved. |
Hrm, I still haven't been able to reproduce this bug. How do you think we could improve the UI to avoid this? |
Could use a loading bar to show progress to user on syncing progress |
Tested this a bit more and this bug just occurs the first time a user logs in. After the contributions are synced, the message still remains since clearSyncMessage() is never called. But the next time the logged-in user starts up the app, the I think the message might be okay if we can get it to disappear once contributionsList is filled with images. Loading bar feels a bit excessive to me since the sync is usually quite quick? (Well, I'm on NZ internet which really sucks, so I figure if it's quick for me then most people wouldn't have trouble either :)). |
I didn't know it was so short, I thought it took a while as it had to download all the thumbnails, but I think that was probably because the message stayed up so long. Just been testing trying to call clearSyncMessage() from the end of ContributionsSyncAdapter (after the line about the kitty) and got this error:
idk yet how to get around this, some listener needs to be created in onCreateView I think |
Ah, good point, I only have 130 photos so maybe that's why mine loads fairly quick. Will try to look into that error when I can. |
I think I might have fixed this. Just needed to change clearSyncMessage() to protected, and call it in ContributionsActivity.java 's onLoadFinished() method. |
The message "waiting for first sync" stays displayed for longer than seems necessary?
The text was updated successfully, but these errors were encountered: