![Avoid Using When Expression as Much as Possible. Use Polymorphism Instead](https://dxj7eshgz03ln.cloudfront.net/production/link/image/763314/twenty_by_nine_extra_large_32a3d8ff-9151-4cce-8f33-48999b94bc32.jpeg)
Avoid Using When Expression as Much as Possible. Use Polymorphism Instead
Paul Karpukhin • 18 May • 1 min read
![Cleaner way to interact between Composable and ViewModel in Jetpack Compose](https://dxj7eshgz03ln.cloudfront.net/production/link/image/763319/twenty_by_nine_extra_large_418bdd9c-dcc6-40e7-abd4-63a38f268e19.png)
Cleaner way to interact between Composable and ViewModel in Jetpack Compose
Saurabh Pant • 18 May • 4 min read
Submit a link
Got something interesting? Send us a link, and we'll include it in the next Android Boss issue.