Interface RelativeRadioGroup.OnCheckedChangeListener

Enclosing class:
RelativeRadioGroup
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 RelativeRadioGroup.OnCheckedChangeListener

Interface definition for a callback to be invoked when the checked radio button changed in this group.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onCheckedChanged(RelativeRadioGroup group, int checkedId)
    Called when the checked radio button has changed.
  • Method Details

    • onCheckedChanged

      void onCheckedChanged(RelativeRadioGroup group, int checkedId)

      Called when the checked radio button has changed. When the selection is cleared, checkedId is View.NO_ID.

      Parameters:
      group - the group in which the checked radio button has changed
      checkedId - the unique identifier of the newly checked radio button