CodingWithMitch – Local Database Cache with REST API 2021-12
CodingWithMitch – Local Database Cache with REST API 2021-12 Downloadly IRSpace

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.com.
What you’ll learn
- Caching data for when the network goes offline
- Reading cached data when the network is down
- Custom SQLite queries using Room
- Customizing the cache (how long data will live in the cache)
- How Retrofit caching works
- Why SQLite and Room is better for caching than Retrofit
- 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
- How Glide caching works
- Glide RecyclerView Preloader (Customizing how many list items get cached)
- Dealing with Network Errors and slow network speeds
- OkHttp Network Timeouts
- Converting Retrofit Calls to LiveData (Call Adapters)
- And much more
Who this course is for
- Android Developers
Specificatoin of Local Database Cache with REST API
- Publisher : CodingWithMitch
- Teacher : Mitch Tabian
- Language : English
- Level : All levels
- Number of Course : 32
- Duration : 4 hours and 48 minutes
Content of Local Database Cache with REST API
# Course Demo
# How to Use the Source Code
# SQLite Cache vs Retrofit Cache
# Displaying Search Categories
# Network Status Resource Class
# Generic Class for Handling Retrofit Responses
# Single Source of Truth Principal
# Network Bound Resource (Part 1/3)
# Network Bound Resource (Part 2/3)
# Executors
# Network Bound Resource (Part 3/3)
# Room Persistence Dependencies
# Room Database
# Room Type Converters
# Room Entities
# Custom SQLite Queries and Room DAO
# Repository Setup
# Converting Retrofit Calls to LiveData (Call Adapter Factory)
# Refreshing the Cache
# Fetching Recipes
# Improving the Query Experience
# Loading Animation
# Refactoring ViewHolders and RecyclerView Adapter
# Querying the Next Page of Results
# Back Navigation
# Canceling a Search Request
# OkHttp Network Requests
# Expired API Keys
# Glide RecyclerView Preloaders
# Cache Refresh Time Constraints
# Refreshing Cached Data
# Setting Widget Properties
Requirements
- PC or Mac
- Android system set up
- Some Android knowledge is useful
Pictures
Sample Clip
Installation Guide
Extract the files and watch with your favorite player
Subtitle : Not Available
Quality: 720p
Download Links
File size
1.13 GB