Join Slack
Powered by
perhaps the entire `when` should have been the fun...
# android
a
andyg
11/12/2017, 10:18 PM
perhaps the entire
when
should have been the function result, like
Copy code
{ when(position) { 0 -> FragmentA() 1 -> FragmentB() } }
Open in Slack
Previous
Next