-
Notifications
You must be signed in to change notification settings - Fork 120
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
Bug: Cell rendering #54
Comments
@zjfjack May I ask for a status update? Are you working on it or shall I try to provide a pull request with a hopefully reasonable solution? |
You can do a pr for reference, thanks for your effort. I don't work on
weekdays usually.
…On Tue, 16 Apr 2019 at 19:14, Rafael ***@***.***> wrote:
@zjfjack <https://github.com/zjfjack> May I ask for a status update? Are
you working on it or shall I try to provide a pull request with a hopefully
reasonable solution?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#54 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AElsPsIsDkgA4mcOncuvAL2-sTMsQO2Kks5vhZR7gaJpZM4cerV8>
.
|
Hey @zjfjack. Could you either give me branch and pull request access, or adjust this code line yourself? JZWeekViewFlowLayout, line 541 From To Because if minY/maxY diff is < 1, stride by 1 will skip some items if too close, therefore 0.1. It is a division issue, apparently. |
Hi @btxsqdr Thanks for your help, I finally have some time to look into this issue. Your solution can definitely solve this issue, but I am thinking about efficiency. The original solution is not efficient already. If you change it to 0.1, then it will become worse. Then, I find a better solution which I will show it here with the algorithm link. Maximum number of overlapping intervals I will finish the solution in Swift and let you know soon. Thanks |
Pushed new commit, if you have any other questions, let me know. Thanks |
Hey Jeff
I've found an issue that might be important. Could you have a look at it? Thank you. @zjfjack
These 3 events are from the same day, yet the 3rd appears on the next day:
Here's how to reproduce:
For simplification, use your example code and alter AllDayViewModel like so
It means that 3 events that are very close should be rendered on the same day.
Thank you very much! :)
The text was updated successfully, but these errors were encountered: