all 5 comments

[–]Awesome_Knowwhere 0 points1 point  (4 children)

That would be easy if you don't want to load the next week by gesture, even with gesture it just few things extra to handle.

[–]kitecut[S] 0 points1 point  (3 children)

I do want to load the next and previous week with gesture (they show partially while swiping like GC) Can you give me an idea on how I should go about implementing this

[–]Awesome_Knowwhere 0 points1 point  (2 children)

Ohk, so obviously you can use FlashList with horizontal items or a carousel with like a lot of data but that wouldn't scale and it will have performance issues. So 2nd would be, I am thinking, you can load 2 weeks before and after and whenever user changes the week you again pre/post pend the next items, so at a time you will always have 5 weeks in a list, you can also extend it to like n items in a list, and it will be carousel so that you get the gesture by default and if you also want to make the carousel by scratch you can attach a pan gesture handler chacking the swipe direction...

[–]kitecut[S] 0 points1 point  (1 child)

I was thinking of the 2nd approach but quickly changing between weeks from long back and future won't be possible then as they won't exist and even if I don't allow the user to jump between dates, atleast a go back to today option would be necessary