Awesome breakdown George, I’m adding this to the resource section of my Dagger2 post!

One architecture pattern I’ve seen that de-couples the lifecycle logic and “business logic” further is injecting the data into a ViewModel for the Activity/Fragment. For quick prototyping this is not useful, but becomes handy when using similar data across the app for many user flows.

--

--

Open Sourcer

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Adam Hurwitz

Adam Hurwitz

Open Sourcer

More from Medium

Sorry to bother you

Resurfaced Memories

Mental health

An Intellectual Thug & His Media Ideas