07/04/2022, 8:11 AM
Shared ViewModels in modules I have an Activity with multiple fragments under it. I want to share data with the Shared ViewModel, but they are all in different Modules. I can't get the ActivityViewModel Class. When I received activityViewModels() using CoreViewModel, the parent of ActivityViewModel, I got an object that was different from what I received with ActivityViewModel,How can I Share ViewModel in multiple Modules This is the log I printed after I moved them to the same Module,But that's not the way I wanted it...