Your First Kotlin Android App
Oct 1 2020 · Kotlin 1.4, Android 11, Android Studio 4
Part 4: Debugging
32. Handling Orientation Changes
Notes: 32. Handling Orientation Changes
Variable and data keys usually start with the
KEY prefix, so you might encounter this approach in other code.
Instead of putting the code after
super.onSaveInstanceState() call, put the code before, to make sure the functions are executed, before your state is saved.
This course was originally created in 2019. The content and student materials were reviewed and updated in October 2020.