How to use case statement in fragments?

Here I posted a helper which allows writing case statements without fragments.

1 Like