Marcin Wisniowski
05/07/2020, 5:04 PMLiveData with the loading state and toggle the loading screen based on that. But if the loading screen is in the Activity, I have no access to the Fragment's ViewModel. What am I missing?Fatih
05/07/2020, 5:11 PMMarcin Wisniowski
05/07/2020, 5:14 PMViewModel from the Fragment's ViewModel. And the network request is happening in the ViewModel. So I would need to have a loading state LiveData in the Fragment's ViewModel, observe it in the fragment, only to relay it to the shared ViewModel. Is this the best I can do?Remy Benza
05/17/2020, 9:43 AMRemy Benza
05/17/2020, 9:45 AMRemy Benza
05/17/2020, 9:46 AMMarcin Wisniowski
06/01/2020, 7:34 PM