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

Add support to saveInstanceState and restoreInstanceState #32

Open
1 of 3 tasks
JonatanSalas opened this issue Jan 22, 2017 · 0 comments
Open
1 of 3 tasks

Add support to saveInstanceState and restoreInstanceState #32

JonatanSalas opened this issue Jan 22, 2017 · 0 comments

Comments

@JonatanSalas
Copy link
Member

JonatanSalas commented Jan 22, 2017

To prevent the CalendarView to loose state when app restarts, we should implement the following methods inherited from View/ViewGroup:

  • onSaveInstanceState
  • onRestoreInstanceState

This would give the ability to:

  • Not loose current month selected when exiting from app and coming back
  • Not loose selection when coming back from one month to another
  • In the future, this help to restore added events for month, when finish to implement the request feature under issue Is it possible add event on specific date? #23

This issue it's created in order to keep track of the changes made.

@JonatanSalas JonatanSalas changed the title development - add support to saveInstanceState and restoreInstanceState Add support to saveInstanceState and restoreInstanceState Apr 27, 2017
@JonatanSalas JonatanSalas self-assigned this Apr 27, 2017
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