Join Slack
Powered by
I can’t seem to find an example of a when statemen...
# android
t
temp_man
10/23/2018, 10:59 PM
I can’t seem to find an example of a when statement with int ranges. Like when(myInt) { 0..1 ->{doStuff()}}
v
victorlai
10/23/2018, 11:32 PM
just missing
in
, i.e.
in 0..1
👍 1
victorlai
10/23/2018, 11:32 PM
https://kotlinlang.org/docs/reference/control-flow.html
2
Views
Open in Slack
Previous
Next