Right now, when you provide a speed, the carousel will swipe itself through its views.
I would need a boolean property that I could set to prevent carousel from looping back to the first children. In other words, it will swipe every view only once.
The only parameter carousel accepting is height/width and these parameters doesn't get updated when device is flipped. Can't this problem be fixed using flex?
Everytime a carousel changes a slide (automatically or by manual swipe), I want to register that event, and capture the index.
The example has an 'onPress' function, which only works if you click on the area. What I'm looking for is more like a 'onSlideComplete'.
First, nice repository ! ๐
Then, you should add callbacks on start and end of the swiping gesture.
I've implemented this every quickly and maybe not the way you would like. :)