Type: fun
Set the text (a single letter, usually) to display in the switch.
Type: interface
A listener to be invoked whenever the checked state of the view is modified.
Type: fun
Called when the state is changed.
Parameter Name | Description |
---|---|
daySwitch | The switch view that was changed. |
b | Whether the switch is checked (boolean). |