Join Slack
Communities
Powered by
thanks Ian that was my assumption too but it wasn'...
# android
a
andyg
11/12/2017, 9:55 PM
thanks Ian that was my assumption too but it wasn't working as expected. I should say this was within a
when()
block, responding to the position of my ViewPagerAdapter. So it was like
Copy code
when(position) { 0 -> { FragmentA() } 1 -> { FragmentB() } }
Open in Slack
Previous
Next