English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 1h 52m | 339 MB
eLearning | Skill level: Intermediate
Make your Android apps more efficient by managing processes in multiple threads. Although threads share resources, you can divide work so that tasks can be performed simultaneously. Still, programming multiple threads (aka concurrent programming) can be a challenge even for experienced developers. This course introduces concurrent programming concepts and techniques specific to Android.
First, discover how to create and start simple background threads, and how to use handlers to manage a thread’s message queue. Then, learn various methods for optimizing the scheduling and performance of background tasks in Android with AsyncTask, intent services, and the JobScheduler API. Plus, explore tools that help you implement multithreading for different tasks in Android: Loader, for asynchronous data loading, and the open-source API Retrofit, for making HTTP requests.
Note: To get the most out of this course, you should be comfortable programming with Java, and should understand the most basic skills that are needed to build Android apps with the Android SDK and Android Studio.
- Creating and running a background thread
- Sending messages to the UI from threads
- Managing multiple background threads
- Managing threads with AsyncTask
- Managing long-running tasks with services
- Scheduling background tasks with JobScheduler
- Using other APIs for concurrent programming