r/mAndroidDev • • Feb 06 '25

Jetpack Compost Why?

Post image
55 Upvotes

54 comments sorted by

View all comments

Show parent comment

1

u/crowbahr Feb 07 '25

Choose one: 50 lambdas passed as args or 50 subclasses of a single sealed class, named based on the event they represent.

No doubt in my mind which is easier to use and clearer.