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.
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.