onCheckedChanged

abstract fun onCheckedChanged(@NonNull group: ChipGroup, @NonNull checkedIds: List<Integer>)

Called when the checked chips are changed. When the selection is cleared, checkedIds will be an empty list.

Parameters

group

the group in which the checked chip has changed

checkedIds

the unique identifier list of the newly checked chips