Android Multithreading Masterclass
- Descrição
- Currículo
- FAQ
- Revisões
Multithreading is an essential topic in Android development because, to write snappy and reliable Android applications, you must use more than one thread. Unfortunately, multithreading is also a very complex technique that introduces unique challenges. Incorrect multithreaded code manifests itself as unresponsive user interfaces, freezes, memory leaks, crashes and other bugs, all of which can be very challenging to find and fix.
In this course, you’ll dive into the fundamentals of multithreading and learn to write correct and performant multithreaded code of any complexity in your Android applications!
Topics covered in this course:
-
What a thread is
-
Why multithreading is uniquely challenging
-
Keep the user interface responsive
-
Make your multithreaded code thread-safe (i.e. correct and reliable)
-
Analyze the performance of multithreaded code
-
Manage up to hundreds(!) of concurrent threads
-
Compare several multithreading frameworks for Android, including AsyncTask, RxJava and Kotlin Coroutines
-
More…
You’ll practice everything you’ll learn here by solving a series of carefully designed, hands-on exercises. So, after completing this course, you’ll have extensive hands-on experience with multithreaded code.
We’ll review several popular concurrency frameworks and see how they accommodate the same complex multithreaded feature. This will allow you to grasp the full landscape of multithreading in Android ecosystem. This will allow you to choose the framework you like the best to use in your Android projects!
So, if you want to become an expert in Android multithreading, this course is perfect for you!
-
17UI Thread vs Background Thread in AndroidVídeo Aula
-
18Demonstration of UI ThreadVídeo Aula
-
19User Interface ResponsivenessVídeo Aula
-
20Protection of User Interface from Background ThreadsVídeo Aula
-
21Execution of Code on UI ThreadVídeo Aula
-
22Handler and Looper IntuitionVídeo Aula
-
23Exercise 3Vídeo Aula
-
24UI Thread in Android Applications SummaryVídeo Aula
-
25Introduction To Multithreading ChallengesVídeo Aula
-
26VisibilityVídeo Aula
-
27AtomicityVídeo Aula
-
28Volatile VariablesVídeo Aula
-
29Concurrency Bug Fix, or When Volatility Isn't SufficientVídeo Aula
-
30Atomic ClassesVídeo Aula
-
31Threads SynchronizationVídeo Aula
-
32ImmutabilityVídeo Aula
-
33Happens BeforeVídeo Aula
-
34Happens Before DemonstrationVídeo Aula
-
35Exercise 4Vídeo Aula
-
36Exercise 4 SolutionVídeo Aula
-
37Amendment to Exercise 4 SolutionVídeo Aula
-
38Multithreading Challenges SummaryVídeo Aula
-
52Simple Cached Thread PoolVídeo Aula
-
53Thread Pool IssuesVídeo Aula
-
54Custom Configuration Of ThreadPoolExecutorVídeo Aula
-
55Interplay Between Core Threads and Keep Alive TimeVídeo Aula
-
56Misconfiguration of ThreadPoolExecutor in AsyncTaskVídeo Aula
-
57Providing Multithreading Classes Using Dependency InjectionVídeo Aula
-
58Exercise 7Vídeo Aula
-
59Thread Pool SummaryVídeo Aula