ChipGroup.OnCheckedChangeListener
public
static
interface
ChipGroup.OnCheckedChangeListener
com.google.android.material.chip.ChipGroup.OnCheckedChangeListener |
This interface is deprecated.
Use ChipGroup.OnCheckedStateChangeListener
instead.
Interface definition for a callback to be invoked when the checked chip changed in this group.
Summary
Public methods | |
---|---|
abstract
void
|
onCheckedChanged(ChipGroup group, int checkedId)
Called when the checked chip has changed. |
Public methods
onCheckedChanged
public abstract void onCheckedChanged (ChipGroup group, int checkedId)
Called when the checked chip has changed. When the selection is cleared, checkedId is View.NO_ID
.
Parameters | |
---|---|
group |
ChipGroup : the group in which the checked chip has changed |
checkedId |
int : the unique identifier of the newly checked chip
|