"Build a Self-Destructing Message Android App" was retired on June 13, 2016. You are now viewing the recommended replacement.
- Android
- Beginner
About this Course
In this course we'll learn how we can reuse parts of an Activity called Fragments to cut down on repetitive code and better support our tablet users.
What you'll learn
- Fragments
- RecyclerViews
- ViewPagers
Introducing Fragments
Fragments are a great way to reuse code, especially for tablet layouts. In this stage we'll introduce the project and create our very first Fragment!
13 steps-
What are Fragments?
2:15
-
My First Fragment
6:05
-
Fragments?
5 questions
-
Adding Fragments to Activities
4:13
-
Adding a Fragment
2 objectives
-
Making a List
8:56
-
Checking It Twice
3:42
-
Handling Clicks
5:20
-
Handling Clicks
2 objectives
-
Fragment Lifecycle
7:00
-
Fragment Lifecycle
5 questions
-
Keeping Track of Instance State
6:09
-
Saving State
2 objectives
Managing Fragments
In this stage we'll learn more about how to manage our Fragments, and we'll get to use a new class named ViewPager!
8 stepsIngredients and Directions
In this stage we'll finish up the ingredients and directions Fragments. Then we'll take a step back and think about a couple refactoring options.
8 stepsTablet Time
In this stage we'll finally make our tablet users happy by creating a new layout just for tablets!
6 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.