Lifecycle Aware Data Loading with Android Architecture Components
Ian Lake
1.7K14

For those asking about ViewModels: They are retained just like retained fragments or loaders are retained. There is no serialization or persistence involved and they disappear when the app is killed.

Just for fun, I created a Loader using LiveData to prove you can mix and match anything: https://gist.github.com/cbeyls/988ddfa23c723a1b0be4405e7b36b03e

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.