Android Threads: Getting Started

Every Android developer needs to have a solid understanding of threads. Learn how to complete tasks on background threads by leveraging the various threading options available with the Android SDK.
Course info
Rating
(19)
Level
Intermediate
Updated
Nov 15, 2018
Duration
2h 19m
Table of contents
Description
Course info
Rating
(19)
Level
Intermediate
Updated
Nov 15, 2018
Duration
2h 19m
Description

Every Android application performs tasks, and if a task requires a lot of system resources, you run the risk of freezing the application. In this course, Android Threads: Getting Started, you will learn how to leverage threads and the various threading options available with the Android SDK. First, you will learn about the threading basics, which helps you gain a fundamental understanding of threads. Then, you will see how to communicate between different threads. Finally, you will explore how to implement several different threading options and determine which work best in the various situations you’re likely to encounter. When you are finished with this course, you will have a foundational knowledge of threading on Android that will help you as you move forward to develop mobile applications.

About the author
About the author

Mitch's passion is teaching. He believes the current education system is outdated and you shouldn't have to spend your life savings to learn about the tech industry.

More from the author
Firebase on Android: Cloud Firestore
Intermediate
2h 15m
May 16, 2018
More courses by Mitch Tabian
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hi. My name is Mitch Tabian, and welcome to my course, Android Threads: Getting Started. I'm a self-employed Android developer, and I'm here to teach you about threading on Android. Having a solid understanding of threading and asynchronously completing tasks is fundamental to every Android developer. Performing tasks that demand a lot of resources should never be done on the main thread. If they're done on the main thread, your application might stop responding. Some of the major topics that we'll cover include threading basics. I'll show you how to build a custom thread class for completing work in the background. Thread-to-thread communication. There's several ways to facilitate thread- to-thread communication on Android. I'm going to focus on using Handlers. Threading methods. The Android SDK has several different options when it comes to constructing threads. I'm going to explore the Thread Looper Handler pattern, HandlerThread, AsyncTask, and ThreadPools. By the end of this course, you'll have an excellent understanding of how you can leverage the various threading options to complete tasks on a background thread. Before beginning the course, you should be familiar with Android Studio, object-oriented programming, activities, and the activity lifecycle. I hope you'll join me on this journey to learn about threads with my Android Threads: Getting Started course, at Pluralsight.