
- Android
- Beginner
About this Course
Activities are a crucial component of almost any Android app. In this course we will learn about the lifecycle of our activities, and how we can handle various unexpected changes. We'll also see how to correctly handle a device rotation as well as how to save data using SharedPreferences. To top it all off, at the end of this course you'll get a chance to test your Android knowledge with a project.
What you'll learn
- Saving and Retrieving Instance State
- Activity Lifecycle
- SharedPreferences
The Activity Lifecycle
In this stage we'll learn the Android activity lifecycle. We'll start with an overview of why the activity lifecycle is so important. Then we'll see how to use bundles to save our instance state. Lastly, we'll get a comprehensive overview of the entire activity lifecycle.
8 stepsIntroducing SharedPreferences
In this stage we'll continue learning about the activity lifecycle and introduce SharedPreferences. We'll start with an example app to demonstrate the activity lifecycle in action. Then we'll see how to save and retrieve data using SharedPreferences.
6 stepsThe Project
In this stage you'll get the chance to test what you've learned with a project. I'll give you the specs of the project in the first video, and then it's your time to shine! If you get stuck, the remaining videos show how I chose to implement the project.
7 stepsTeacher
-
Ben Deitch
Ben is an Android teacher with a long history of creating and tinkering with Android apps. He's an avid learner, loves playing sports, and is a fairly average chef.