```0 -> { FragmentA() }``` in `when` branch bra...
# android
p
Copy code
0 -> { FragmentA() }
in
when
branch brackets indicate that it is a statement/expression block, not a lambda to create a lambda you need to add another set of brackets
Copy code
0 -> { { FragmentA() } }