-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Weekly event and weekly scrolling #11
Comments
A week change listener will not be a robust solution because when switching from a week to the next, the events from both the weeks should be visible (last day of the first week and first day of the next week). Also loading data for each week will result laggy animation. What you can do is you can implement onMonthChangeListener and set the number of visible days to 7. If you are looking for a scrolling solution where it cannot be stopped in any day other than Monday, then I am sorry to say this feature has not been implemented yet. When this scrolling feature is available in the future, you will still have to implement onMonthChangeListener. |
Any news about this feature? Was it added eventually? If not, maybe this could be helpful for this feature: |
This is a feature in my app, I use a work around:
|
@CTKnight This won't work well, because swiping between them will also swipe the hours, and in addition, the hours might be different between pages. But for some reason he didn't do a pull request. I've tested it and so far the only issue with it seems to be that he created a new class that extends WeekView instead of putting the new code in WeekView . |
@AndroidDeveloperLB you are right, extra efforts can be made to align hours if you use view pager (that's the part I leave for my teammates XD). My solution also creates a new class. This can't painless, for weekview doesn't leave much space to customize though. |
@CTKnight I don't like the implementation here of WeekView, but it's just the only decent library I've found. Google Calendar app, for example, does use ViewPager and in fact multiple views in it. I've found it in the DDMS tool. I wanted to do it myself, but it just takes too much time, so I was instructed to use what I can find. The library here has many issues that I've found:
|
* Transplanted invisible rect fix for whole day events from the Quivr fork over to Thellmund's fork * Fixed rect not getting drawn for events that start and end at midnight
I couldn't get to create weekly event, probably because an onWeekChangeListener is not implemented. My suggestion is to implement a method to scroll from week to week (From monday to monday), an onWeekChangeListener to populate the weekView and a method to start the week from a preferred day, other than today. Thanks a lot
The text was updated successfully, but these errors were encountered: