filmov
tv
Network Timeouts with Kotlin Coroutines
Показать описание
In this video I show you how to handle network timeouts using Kotlin coroutines.
In the past, network timeouts have been notoriously difficult to handle on android. AsyncTask, Executors, Threads, all these components made it very difficult to handle errors when making network requests.
RxJava and LiveData made is slightly simpler, and Kotlin coroutines takes it a step further. With Kotlin coroutines there's many different ways to handle timeouts and cancellations. This is a simple example showing you one of those ways using the "withTimeoutOrNull" coroutine launcher method.
Network Timeouts with Kotlin Coroutines
Kotlin Coroutines: Jobs and Timeouts (Tutorial)
【ANDROID STUDIO】Set Timeouts Retrofit With Kotlin Coroutines
Retrofit Request Timeouts: Handling slow network connections: Retrofit Android Tutorials #6.2
Kotlin Coroutine Cancellation: Cooperative cancellation, Handle Exceptions, and Timeouts
Coroutines with Retrofit - Kotlin Coroutines
Concurrent Network Calls in Android with Coroutines: A Beginner's Guide
Boris D'Amato - Networking the Kotlin way: Retrofit + Coroutines
In-Depth Guide to Coroutine Cancellation & Exception Handling - Android Studio Tutorial
Jobs and Cancellation - Kotlin Coroutines
Suspend Functions - Kotlin Coroutines
Kotlin coroutines: new ways to do asynchronous programming - Svetlana Isakova
Lukas Lechner. Why exception handling with Kotlin Coroutines is so hard, how to master it!
Filip Babić — Deep diving into the Kotlin Coroutines API
KotlinConf 2019: Coroutines! Gotta catch 'em all! by Florina Muntenescu & Manuel Vivo
Android Routines on Coroutines
Coroutine Contexts - Kotlin Coroutines
Code Review: Getting a value with timeout using Kotlin coroutines
Coroutines will FREEZE your UI
Modern asynchronism with coroutines Presentation and best practices of the coroutines framework
Understand Kotlin Coroutines on Android (Google I/O'19)
Kotlin Coroutines Android Tutorial #2: Practical Concurrency w/ CoroutineScope, launch, withContext
Kotlin Coroutines: Context & Dispatchers (Tutorial)
WHAT IS A COROUTINE? - Kotlin Coroutines
Комментарии