Hello,
I am creating a custom SkinnableComponent which should have 8 fixed
positioned selectable elements. Only one can be selected.
First guess was to try List, but I am looking for more lightweight way.
Then tried Datagroup but then can't have seletedIndex or selected state in
DataGroup's itemRenderer skin.
Now my last option is to have 8 RadioButtons (in components skin I can set
skin for RadioButtons) and 1 RadioButtonGroup (that will dispatch selected
index) as SkinParts.
Is my last approach wrong way and is there any other more simple, better
performance approach to create this component?
I am creating a custom SkinnableComponent which should have 8 fixed
positioned selectable elements. Only one can be selected.
First guess was to try List, but I am looking for more lightweight way.
Then tried Datagroup but then can't have seletedIndex or selected state in
DataGroup's itemRenderer skin.
Now my last option is to have 8 RadioButtons (in components skin I can set
skin for RadioButtons) and 1 RadioButtonGroup (that will dispatch selected
index) as SkinParts.
Is my last approach wrong way and is there any other more simple, better
performance approach to create this component?