Mastering Kotlin Coroutines for Android Development
MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz, 2 Ch
Genre: eLearning | Language: English + .srt | Duration: 106 lectures (9h 27m) | Size: 3.42 GB
Learn how to implement 12+ of the most common use cases for Kotlin Coroutines on Android What you'll learn:
How to implement 12+ of the most common use cases for Kotlin Coroutines on Android.
Get a deep understanding of Kotlin Coroutines (Suspend Functions, Coroutine Builders, blocking vs suspending, Coroutines vs Threads).
Learn advanced Concepts (Structured Concurrency, Coroutine Scopes and Contexts, internal workings)
Understand the advantages of using Coroutines over Callbacks or RxJava.
How to perform network requests with Retrofit sequentially and concurrently.
How to use Room together with Coroutines.
How to do background processing with Coroutines.
How to appropriately deal with exceptions.
How to write Unit Tests for coroutine-based implementations.
How to implement Timeouts and Retries.
Requirements
No prior knowledge about Kotlin Coroutines needed, however you should be familiar with the Basics of Kotlin and Android, as well as some Android Jetpack Components (ViewModels, LiveData, Room) and Retrofit.
Description
Google recommends Kotlin Coroutines as the preferred solution for asynchronous programming on Android. Sooner or later, probably every Android developer will get in touch with them. This course will provide you with a deep understanding of Kotlin Coroutines and shows how to implement 12+ of the most common use cases for Android applications.
At first, we will take a detailed look at the advantages of Kotlin Coroutines over other approaches for asynchronous programming, like RxJava and Callbacks.
Then, we will talk about some theoretical fundamentals. These include:
Routines vs. Coroutines
Suspend Functions
Coroutines vs. Threads
Blocking vs. Suspending
Multithreaded Coroutines
Internal workings
Next, we will implement some of the most common use cases for Kotlin Coroutines in Android applications. These include:
Performing network requests with Retrofit sequentially and concurrently
Implementing Timeouts and Retries
Using Room with Coroutines
Performing background processing with Coroutines
Continuing Coroutine execution even when the user leaves the screen.
To improve your learning experience, this course also challenges you with several exercises.
Learning Coroutines can be overwhelming because you need to learn a lot of new concepts. However, we are going to start simple and as our use cases will get more and more complex, we will learn about new concepts step-by-step. These new concepts are:
Coroutine Builders (launch, async, runBlocking)
Coroutine Context
Coroutine Dispatchers
Structured Concurrency
Coroutine Scopes (viewModelScope, lifecycleScope, GlobalScope)
Jobs and SupervisorJobs
scoping functions (coroutineScope{} and supervisorScope{})
Cooperative Cancellation
Non-Cancellable Code
We will also make a deep dive into Exception Handling and discuss concepts like:
exception handling with try/catch
exception handling with CoroutineExceptionHandlers
when to use try/catch and when to use a CoroutineExceptionHandler
exception handling in Coroutines started with launch and async
exception handling specifics of scoping functions coroutineScope{} and supervisorScope{}
Unit Tests are very important for every codebase. In the final section of the course we will write unit tests for most of the coroutine-based use cases we implemented earlier. We will discuss concepts like
TestCoroutineDispatcher
creating a JUnit4 Rule for testing coroutine-based code
runBlockingTest{} Coroutine Builder
virtual time
Testing sequential and concurrent execution
TestCoroutineScope
By the end of this course, you will have a fundamental understanding of Kotlin Coroutines and are able to write readable and maintainable, asynchronous and multithreaded Android Applications.
Who this course is for
Android Developers who want to get a deep understanding of Kotlin Coroutines and how to implement 12+ of the most common use cases on Android.
https://www.udemy.com/course/coroutines-on-android/
http://nitroflare.com/view/024805591882232/Mastering_Kotlin_Coroutines_for_Android_Development.part1.rar
http://nitroflare.com/view/40FDC98D6CC3688/Mastering_Kotlin_Coroutines_for_Android_Development.part2.rar
http://nitroflare.com/view/21C8A80AA026EFF/Mastering_Kotlin_Coroutines_for_Android_Development.part3.rar
http://nitroflare.com/view/74595AE058C3668/Mastering_Kotlin_Coroutines_for_Android_Development.part4.rar
https://rapidgator.net/file/98fc62ad60585260d39a1fc72de554f0/Mastering_Kotlin_Coroutines_for_Android_Development.part1.rar.html
https://rapidgator.net/file/69ce82218abdb24f35b3fc5c77319c2a/Mastering_Kotlin_Coroutines_for_Android_Development.part2.rar.html
https://rapidgator.net/file/8100dc2a7456e3f03edee39d064cbe34/Mastering_Kotlin_Coroutines_for_Android_Development.part3.rar.html
https://rapidgator.net/file/13c39c640cf5b67ebb6090df2b77a5b4/Mastering_Kotlin_Coroutines_for_Android_Development.part4.rar.html
https://uploadgig.com/file/download/755C6590FABa5d98/Mastering_Kotlin_Coroutines_for_Android_Development.part1.rar
https://uploadgig.com/file/download/c222761c90B299d3/Mastering_Kotlin_Coroutines_for_Android_Development.part2.rar
https://uploadgig.com/file/download/fC9Ad6cf835d20c5/Mastering_Kotlin_Coroutines_for_Android_Development.part3.rar
https://uploadgig.com/file/download/07c01da15C0afB3d/Mastering_Kotlin_Coroutines_for_Android_Development.part4.rar