CompactCalendarView
CompactCalendarView copied to clipboard
Events added in one fragment not visible in another
I have two Fragments. One adds the event to the Calendar. I have verified that it gets added by immediately getting it back by date. Other fragment is a CompactCalendarView which has a listener in onCreateView() for onDayClick. There I check for events that were added but I can see none.
I am using a NavigationDrawer to navigate to different fragments. Both these fragments are part of one Activity. I have also tried adding the event in the activity and then navigating to Calendar View to check but I get back no events.
I am sure this is a simple use case and am missing something. If you can point me in the right direction that would be great. I can share code if needed too.