Programmatically change SegmentedBar item/index


#1

Hey All,

I am trying to change the SegmentedBar’s item/index programmatically. I have tried so far using ElementRef approach to take reference of it.

But i am not getting any property to change the selectedIndex.

Can anybody suggest the way for it?


#2

selectedIndex did work when I tested last time, do you have a playground example to demonstrate the issue?


#3

Playground demo application showing a possible approach to get the selectedIndex