Your First Kotlin Android App

Oct 1 2020 · Kotlin 1.4, Android 11, Android Studio 4

Part 4: Debugging

32. Handling Orientation Changes

Episode complete

Play next episode

Next
About this episode
Leave a rating/review
See forum comments
Cinema mode Mark complete Download course materials
Previous episode: 31. Your First Debug Next episode: 33. Challenge: Trigger Log Statements

Get immediate access to this and 4,000+ other videos and books.

Take your career further with a Kodeco Personal Plan. With unlimited access to over 40+ books and 4,000+ professional videos in a single subscription, it's simply the best investment you can make in your development career.

Learn more Already a subscriber? Sign in.

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.