ListView / PathView wrap around
-
Hello together,
we have implemented a Selection Carousel in our UI. The Carousel is used for multiple selections and also content dependent, which means that the amount of entries in the Carousel is not fix.
We want to have a behavior, that the carousel is endless (wrap around) when the model has more than e.g. 6 entries, but bounded when it has less.
Currently our approach is, that we have implemented the control twice. Once using a ListView and once using a PathView (using the same delegate).This approach is very prone to errors, and we are suffering a lot to keep the look and feel of the controls the same. As ListView and PathView are working differently it is really hard to align things like scroll animations and sensitivity. Currently we did not achieve a satisfying solution.
Are there any other ideas on how to implement such a carousel that can be either bounded or wrap around?
Thank you very much.