How to handle network errors with Ktor

Опубликовано: 29 Октябрь 2024
на канале: The Android Factory
1,743
116

Hello everyone, in this video I show you an effective way to handle network errors inside of your app! A simple try-catch block, with some added functional programming syntax makes quick work of this functionality. Stick around as I cover all of it for you!

Don't forget to subscribe and enable notifications to stay up-to-date!

Full playlist here:    • Season 15: Multi-module Jetpack Compo...  
Source code here: https://github.com/the-android-factor...

00:00 Intro
0:37 Handle network errors
5:54 Introduce functional programming
9:08 Final testing & outro

=========== Popular Series ===========
Redux e-commerce app:    • Season 10: E-commerce app w/ Redux + ...  
Rick and Morty app:    • Season 6: Rick & Morty Android MVVM app  

=========== Connect with me ===========
LinkedIn:   / domenic-polidoro-802b72b4  
Instagram:   / dom_polidoro  
Twitter:   / developer_dom  
Tiktok:   / building_android