Android-Week-View icon indicating copy to clipboard operation
Android-Week-View copied to clipboard

In Fragment not Working

Open officialkeyu opened this issue 7 years ago • 2 comments

officialkeyu avatar Feb 23 '18 09:02 officialkeyu

Hello, Did you figure out how to make it works in Fragment.

Or anyone elsa can help please?

hasina10 avatar Aug 06 '18 14:08 hasina10

I have it working in my project. It's not perfect but I created an abstract Fragment to hold my weekView (also implemented a custom extended calendarView) and created a separate WeekViewBaseFragment which extends my abstract Frag. The base is where I load my months. This base is a child frag of my parent ViewPager fragment of my activity. I save my user events in sqlite and load it into my base frag (did this cause the events weren't saving when the activity was destroyed). Everything works except I am trying to figure out how to get the correct time and date when the user clicks to add an event on the WeekView. My app is a work in progress my its uploaded on my page if you want to take a look. Good luck!

NaturallyAsh avatar Oct 03 '18 21:10 NaturallyAsh