Local Database Cache with REST API Free Download
7 Likes Comment

Local Database Cache with REST API, FreeTuts Download

  Local Database Cache with REST API course Free Tutorial Download

Description

In this course you’ll learn how to build a local database cache with SQLite and Room. The cache retrieves data from a REST API using Retrofit2. Architecture is MVVM.

The app used to retrieve the data from Food2Fork.com, but that website has been shutdown. A Codingwithmitch.com community member stripped the data and published to this heroku app: recipesapi.herokuapp.comSpecial thanks to Simran doing this!

Example request: http://recipesapi.herokuapp.com/api/search?q=chicken
Here’s the specifics of what you will see in the course:

  1. Caching data for when the network goes offline
  2. Reading cached data when the network is down
  3. Custom SQLite queries using Room
  4. Customizing the cache (how long data will live in the cache)
  5. How Retrofit caching works
  6. Why SQLite and Room is better for caching than Retrofit
  7. How to design a database cache
    • There is no “one size fits all”
    • Retrofit is better for some things but room is better for others
  8. How Glide caching works
  9. Glide RecyclerView Preloader (Customizing how many list items get cached)
  10. Dealing with Network Errors and slow network speeds
  11. OkHttp Network Timeouts
  12. Converting Retrofit Calls to LiveData (Call Adapters)
  13. And much more…

Architecture Diagram

Local Database Cache with REST API, FreeTuts Download

Download  Local Database Cache with REST API   Free

Go to Download Tutorials Page

Password : freetuts.download

Read more course:  iOS 11 & Swift 4: The Complete Developer Course

You might like

About the Author: Ho Quang Dai

I am Ho Quang Dai. Looking forward to receiving positive contributions from readers

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.