Interface Checkable.OnCheckedChangeListener

Enclosing interface:
Checkable
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 Checkable.OnCheckedChangeListener
Interface definition for a callback to be invoked when the checked state of a checkable view changed.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onCheckedChanged(View buttonView, boolean isChecked)
    Called when the checked state of a checkable view has changed.
  • Method Details

    • onCheckedChanged

      void onCheckedChanged(View buttonView, boolean isChecked)
      Called when the checked state of a checkable view has changed.
      Parameters:
      buttonView - The checkable view whose state has changed.
      isChecked - The new checked state of buttonView.