Interface IMLSwitchStateListener

  • 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 interface IMLSwitchStateListener
    The listener for switch list items.
    Author:
    Christopher Mindus
    • Method Detail

      • onSwitchStateChanged

        void onSwitchStateChanged​(MLSwitch checkBox,
                                  boolean on)
        Called when the switch state changes.
        Parameters:
        checkBox - The checkbox.
        on - The new state.