Skip to content
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

New ViewChangedEvent #166

Open
GoogleCodeExporter opened this issue Oct 28, 2015 · 0 comments
Open

New ViewChangedEvent #166

GoogleCodeExporter opened this issue Oct 28, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

Description of the new feature:

Generation of view change event when calendar view is changed in any  way that 
effects the dates/times displayed.

Use Case:

The view mode (day/week/month...) is changed or the date to be viewed is 
changed. The calendar publishes a new ViewChangedEvent which would contain 
attributes indicating the date range that is currently being displayed, the 
view mode.

This would be useful so that logic is not needed to calculate what dates are 
being displayed (calls to MonthsViewDateUtils for example). Business code would 
simply use the data in the event to indicate any appointments that needed to be 
fetched from an appointment service (db/cache/webservice). 

In short this reduces even further the date/time logic required by users code.

Assumptions:
1.
2.
3.

Exceptions:
1.
2.
3.

Code / psuedo-code:

Original issue reported on code.google.com by sweb...@gmail.com on 10 Aug 2012 at 9:05

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant