# Interface SelectionListener

All Known Implementing Classes:
  `ButtonList, CheckBoxList, RadioButtonList, SwitchList`

public interface SelectionListener
Invoked to indicate a selection change in the list model

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `selectionChanged(int oldSelected, int newSelected)`
  Indicates the selection changed in the underlying list model

- ## Method Details

  - ### selectionChanged

    void selectionChanged(int oldSelected, int newSelected)

    Indicates the selection changed in the underlying list model

    ###### Parameters

    - `oldSelected`: old selected index in list model

    - `newSelected`: new selected index in list model