Interface CheckBox.OnCheckedStateChangeListener

Enclosing class:
CheckBox
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface CheckBox.OnCheckedStateChangeListener
Callback interface invoked when one of three independent checkbox states change.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onCheckedStateChanged(CheckBox checkBox, int state)
    Called when the checked/indeterminate/unchecked state of a checkbox changes.
  • Method Details

    • onCheckedStateChanged

      void onCheckedStateChanged(@NonNull CheckBox checkBox, int state)
      Called when the checked/indeterminate/unchecked state of a checkbox changes.
      Parameters:
      checkBox - the CheckBox
      state - the new state of the checkbox