koin-samples icon indicating copy to clipboard operation
koin-samples copied to clipboard

Use shared ViewModel in Fragments

Open petoalbert opened this issue 6 years ago • 1 comments

The WeatherApp sample does not work correctly, because the Fragment uses a different ViewModel than the Activity. It seems like it was forgotten to be updated after 0.9.1. Since the sampleapp-arch was also created before updating to 0.9.1, I guess it was also meant to be used with a shared ViewModel.

petoalbert avatar Aug 08 '18 07:08 petoalbert

👍 we need this PR

dwkim-sugarhill avatar Aug 21 '18 01:08 dwkim-sugarhill