MaterialCheckBox.OnErrorChangedListener

public interface MaterialCheckBox.OnErrorChangedListener


Callback interface invoked when the checkbox error state changes.

Summary

Public methods

abstract void
onErrorChanged(MaterialCheckBox checkBox, boolean errorShown)

Called when the error state of a checkbox changes.

Public methods

onErrorChanged

abstract void onErrorChanged(MaterialCheckBox checkBox, boolean errorShown)

Called when the error state of a checkbox changes.

Parameters
MaterialCheckBox checkBox

the MaterialCheckBox

boolean errorShown

whether the checkbox is on error