https://androiddev.apptractor.ru/android-dev-podcast-92/Предисловие:
Пока Саша экспериментирует с хардкорными выпусками, я экспериментирую с берлинским GDE, записывая ультра-простые выпуски.
Встречайте!
Podcast #92. Activity lifecycle under the hood. Part 1.
So many candidates nowadays are using live data on interview but less than half of them know how it works and what exact a problems with activity destroy during rotation and keeping activity in the backstack. We have GDE from Berlin Ash Davies to solve that puzzle and show clear picture what to do to deal with the state.
This is a first part of 2 episodes. We are talking about activity and fragment lifecycle, retained fragments, ActivityThread class and FragmentManager.
Links:
https://android.googlesource.com/platform/frameworks/base/+/master/core/java/android/app/ActivityThread.java - sources of creator of Activities.
https://github.com/xxv/android-lifecycle - complete activity and fragment lifecycle diagram
https://developer.android.com/about/versions/oreo/android-8.0#mds - support of foldable phones lifecycle
https://kotlinlang.org/docs/tutorials/android-plugin.html#parcelable-implementations-generator - Kotlin Parcelable generation
https://twitter.com/askashdavies - Ash’s Twitter