New video by Coding in Flow on YouTube
Simple Offline Caching With NetworkBoundResource + Kotlin Coroutines (Flow)
In this course, we will learn how to fetch data from a REST API using Retrofit, and how to cache this data for offline use in an SQLite database using the Room persistence library. For this, we will use a NetworkBoundResource implementation based on Kotlin Coroutines and Kotlin Flow. The app will follow a simple MVVM architecture with dependency injection, single source of truth principle, and separation of concerns. In this part, I'll give an overview of the project we will build. Get the starting code for this project here: https://ift.tt/31b3yWg Get the MVVM Caching Course: https://ift.tt/3uGJ45j Take a look at the MVVM Caching Course source code: https://ift.tt/3eegSB5 ____________________ ⭐ Get my new MVVM Caching Course now: https://ift.tt/3uGJ45j ❗ Subscribe to the channel: https://www.youtube.com/c/codinginflow?sub_confirmation=1 💲 Earn money by becoming an affiliate for my courses: https://ift.tt/3rn2465 📨 Subscribe to the Coding in Flow newsletter: https://ift.tt/3c9SfDX 💻 Hire me for your next project: https://ift.tt/3df1hPB 💚 Donate to Coding in Flow with a message: https://ift.tt/3968W18 ❓ Ask your programming questions in our chat: https://ift.tt/2M13Qcv 📣 Follow Coding in Flow on other sites: Facebook: https://ift.tt/2Bi7ydc Instagram: https://ift.tt/2P7u8Z7 Twitter: https://twitter.com/codinginflow Github: https://ift.tt/3u0pRuj
View on YouTube
In this course, we will learn how to fetch data from a REST API using Retrofit, and how to cache this data for offline use in an SQLite database using the Room persistence library. For this, we will use a NetworkBoundResource implementation based on Kotlin Coroutines and Kotlin Flow. The app will follow a simple MVVM architecture with dependency injection, single source of truth principle, and separation of concerns. In this part, I'll give an overview of the project we will build. Get the starting code for this project here: https://ift.tt/31b3yWg Get the MVVM Caching Course: https://ift.tt/3uGJ45j Take a look at the MVVM Caching Course source code: https://ift.tt/3eegSB5 ____________________ ⭐ Get my new MVVM Caching Course now: https://ift.tt/3uGJ45j ❗ Subscribe to the channel: https://www.youtube.com/c/codinginflow?sub_confirmation=1 💲 Earn money by becoming an affiliate for my courses: https://ift.tt/3rn2465 📨 Subscribe to the Coding in Flow newsletter: https://ift.tt/3c9SfDX 💻 Hire me for your next project: https://ift.tt/3df1hPB 💚 Donate to Coding in Flow with a message: https://ift.tt/3968W18 ❓ Ask your programming questions in our chat: https://ift.tt/2M13Qcv 📣 Follow Coding in Flow on other sites: Facebook: https://ift.tt/2Bi7ydc Instagram: https://ift.tt/2P7u8Z7 Twitter: https://twitter.com/codinginflow Github: https://ift.tt/3u0pRuj
View on YouTube
Comments
Post a Comment