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.
Topics include:
– Creating and running a background threadSending messages to the UI from threads – Managing multiple background threads – Managing threads with AsyncTask – Managing long-running tasks with services – Scheduling background tasks with Job – SchedulerUsing other APIs for concurrent programming
Reactive Programming on Android with RxJava Название: Reactive Programming on Android with RxJava Автор: Chris Arriola, Angus Huang Издательство: Leanpub ASIN: B073L5JB27 Год: 2017 Язык:...
Android Concurrency (Android Deep Dive) Название: Android Concurrency (Android Deep Dive) Автор: G. Blake Meike Издательство: Addison-Wesley Professional Год: 2016 Страниц: 224 Формат:...
Android: Programming for Developers (+code) Название:Android: Programming for Developers+code Издательство:PACKT Автор:John Horton, Helder Vasconcelos, Raul Portales Год: 2016 Количество...
Expert Android Studio Название: Expert Android Studio Автор: Murat Yener, Onur Dundar Издательство: Wrox Год: 2016 Страниц: 432 Формат: PDF Размер: 51 Mb Язык: English ...
Информация
Посетители, находящиеся в группе Гости, не могут оставлять комментарии к данной публикации.