Improve your coding skills from beginner to expert with the largest online Java e-learning platform

Going Further with Android

Module 2
  • This course continues from our Introduction to Android. You'll find out how to deal with the very tricky problems posed by rotating devices, and what happens if your App is sent to the background.
  • You'll also discover how to implement background tasks - the Android equivalent of threading.

Pre-requisites

We start this module where the last module left off - if you already know some Android, a starting workspace is provided.

Contents - This course will take about a day to complete.

 

Having problems? check the errata for this course.

1

Activity Lifecycles Part 1


23 m 13 s
How to preserve the state of your App when the device is rotated.

2

Activity Lifecycles Part 2


36 m 0 s
How to deal with interruptions to your App, such as an incoming phone call.

3

Introducing Fragments


41 m 25 s
Fragments are reusable groups of views, useful for creating different layouts and screen sizes.

4

Layouts and Multiple Fragments


35 m 24 s
In this chapter we create an alternative layout targeted to different screen sizes and orientations, understand some of the layout schemas provided by Android, and re-use our fragments. We'll also see nested fragments in use. Updated September 2018 - please see the errata for this chapter

5

Fragment Lifecycles


9 m 57 s
We'll review the lifecycle methods of fragments in this chapter, and understand why you shouldn't store the application's state in fragments. There's also a small exercise to complete the main functionality within our quiz application.

6

The Backstack and Transactions


37 m 11 s
In this chapter we learn how to override the default "back button" functionality using the backstack with transactions.

7

Background Processing


31 m 53 s
How to make code run on a separate thread, so that it continues running when our app is in the background, and how we can receive notifications from this thread to any of the activities in the application.

Let the Course Come to You

About Us Pricing Frequently Asked Questions Contact Privacy T&Cs Affiliates and Resellers
Facebook Twitter YouTube LinkedIn