-
Notifications
You must be signed in to change notification settings - Fork 27
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
Update calendar details when modified by external app #47
Labels
enhancement
Genuinly new functionality.
Comments
I agree. I proposed a refresh button simply because it would be less work to implement. But if you make it automatic, all the better! |
jgriffiths
added a commit
that referenced
this issue
Jun 1, 2016
Part 1 of issue #47. Per the FIXMEs this needs to be smarter about avoiding updates where possible and part 2 still needs implementing.
jgriffiths
added a commit
that referenced
this issue
Jun 2, 2016
Part 1 of issue #47. The code to (re)initialise the calendar info is now called from app init, activity resume and broadcast receive so needs to be made safe and efficient for all three cases.
jgriffiths
added a commit
that referenced
this issue
Jun 2, 2016
jgriffiths
added a commit
that referenced
this issue
Jun 3, 2016
For issue #47. In the typical case of no changes when resuming this makes the behaviour the same as previous versions. If there any issues around changing the calendar list they should now only occur after the calendar is actually changed.
jgriffiths
added a commit
that referenced
this issue
Jun 3, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is instead of a refresh button as suggested by @Gitoffthelawn. Also noticed by @mzagol during offline testing of another issue.
There are two parts here, 1) reload the calendar details when the app is resumed, and 2) Register for updates from the O/S when any calendars change while running.
Note that the count may still be wrong until a workaround for issue #44 is found.
The text was updated successfully, but these errors were encountered: