Going Further with Android

Try for free!

Subscribe and stream all our courses
from just USD30.00 per month
Start my free trial

Going Further with Android

Module 2

This course will take about a day to complete.

  • 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.
We start this module where the last module left off - if you already know some Android, a starting workspace is provided.

Contents

Having problems? check the errata

Activity Lifecycles Part 1 23m 13s

How to preserve the state of your App when the device is rotated.

Preview

Activity Lifecycles Part 2 36m 0s

How to deal with interruptions to your App, such as an incoming phone call.

Watch

Introducing Fragments 41m 25s

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

Watch

Layouts and Multiple Fragments 35m 24s

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

Watch

Fragment Lifecycles 9m 57s

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.

Watch

The Backstack and Transactions 37m 11s

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

Watch

Background Processing 31m 53s

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.

Watch
Copyright ©2024 VirtualPairProgrammers.com