Reputation: 169
I'm using a CalendarView on my activity, that shows some events on selected date. If an event is clicked, a new activity is started and showing some details of the event. Everything works fine. But if I go back to previous activity, 'today' is selected (it's my default). Is it possible to go back to the date of the event I selected?
Thanks a lot for your help!
Upvotes: 0
Views: 531
Reputation: 1355
Do the one thing when you select date at that time store that date into static variable or anywhere and when you came back to that activity set that day,month and year to that date picker dialog that way you can achieve what you want.
Upvotes: 1