https://kotlinlang.org logo
Title
o

Omkar Amberkar

01/20/2023, 12:42 AM
what would be the best way to communicate between two viewmodels scoped to same composables?
with huge codebase, the viewmodels get bloated with chunk of code which i want to separate out into feature specific viewmodels but be able to talk to one another in best way possible
z

zt

01/20/2023, 4:28 AM
What about bringing the features into a seperate class then using dependency injection to inject it into the viewmodels?
c

Chrimaeon

01/20/2023, 7:15 AM
This is a workspace about the Kotlin programming language. For your general android questions please check the channel description for more appropriate resources.