Adjacent Files

Project Info

. > app > src > main > java > me > jfenn > alarmio > views > DaySwitch.kt

setText

Type: fun

Set the text (a single letter, usually) to display in the switch.

OnCheckedChangeListener

Type: interface

A listener to be invoked whenever the checked state of the view is modified.

onCheckedChanged

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).