--

That's actually not a good idea, since you're coupling compose, activity and ViewModel. What you wanna do is create something reusable and not dependent on Compose at all

--

--

Patryk Kosieradzki
Patryk Kosieradzki

Written by Patryk Kosieradzki

Senior Android &iOS Engineer @ Moss, based in Warsaw, Poland

No responses yet