ChipGroup.OnCheckedStateChangeListener
public
static
interface
ChipGroup.OnCheckedStateChangeListener
com.google.android.material.chip.ChipGroup.OnCheckedStateChangeListener |
Interface definition for a callback which supports multiple checked IDs to be invoked when the checked chips changed in this group.
Summary
Public methods | |
---|---|
abstract
void
|
onCheckedChanged(ChipGroup group, List<Integer> checkedIds)
Called when the checked chips are changed. |
Public methods
onCheckedChanged
public abstract void onCheckedChanged (ChipGroup group, List<Integer> checkedIds)
Called when the checked chips are changed. When the selection is cleared, checkedIds
will be an empty list.
Parameters | |
---|---|
group |
ChipGroup : the group in which the checked chip has changed |
checkedIds |
List : the unique identifier list of the newly checked chips
|