-
Notifications
You must be signed in to change notification settings - Fork 35
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
Docs: horizontal swiping #24
Comments
Agree, would be lovely! =) |
looking forward to it!! |
Guys, any news about horizontal swipe? |
Is it possible to implement horizontal swiping with this library? |
Finally, after some inspiration from your WindowsXP calendar, i figured out how to build a performant horizontal calendar! |
@kostas64 can you share with us? |
@AndreyBernardoni Sorry mate, never saw your comment. I dont know if this is the best way to implement the horizontal, it works for me. I tried to extract as much logic as i could from the library it self in order to understand how it works behinds the scenes. In this way you can construct many types of calendars. I have replicated the same logic to build a strip calendar. First, you have to calculate the calendarMonthId's for the months you want to render the calendar
Then you have to calculate the data for the calendar
Render the calendarData to a FlatList or a Flashlist, whatever fits your needs better. In my case FlatList works
Last but not least, we have to render the items.
I hope this helps! Apologies for the lengthy response—I wanted to provide enough detail for clarity and avoid leaving anything unclear. |
We should have an example demoing how to implement horizontal swipe.
The text was updated successfully, but these errors were encountered: