public interface SelectionListener

Known subtypesButtonList, CheckBoxList, RadioButtonList, SwitchList

Invoked to indicate a selection change in the list model

Methods

public abstract void selectionChanged(int oldSelected, int newSelected)Indicates the selection changed in the underlying list model

Method details

selectionChanged

public abstract void selectionChanged(int oldSelected, int newSelected)
Indicates the selection changed in the underlying list model

Parameters

oldSelected int
old selected index in list model
newSelected int
new selected index in list model