Hi Valentin,
I have been able to reproduce the issue using your initial code example and occurs on all platforms. It appears to reuse the template for several items in a row and then makes another call again for subsequent items.
I have logged this with the development team, you can follow the bug report here:
SlideView: ItemTemplateSelector Not Working Correctly. I have also updated your Telerik points as a small token of appreciation for bringing this to our attention.
Workaround
Unfortunately, I am not able to come up with a workaround for the selector. An alternative would be to use a single ItemTemplate and ValueConverters to change the content's properties.
For example:
This would result in a different color being used for every other item.
Regards,
Lance | Tech Support Engineer, Sr.
Progress Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items