Multiple SegmentedBars with CSS colour change problem


#1

Here is a Play Example

In the code you will see a StackLayout commented out and the code works as expected. I can selected any SegmentedBar option and the colour will change.

If I uncomment the StackLayout lines the code fails. Selecting the index of one of the Segmentedbars will not only change the colour of that one but will change the colour of one further down the list even though they have different ID’s.

Any thoughts please.


#2

OK it seems to be a Listview issue.

Replacing the ListView with a Repeater solved the problem.