Published on: 2023-01-26 20:20:54
Categories: 28
Share:
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.
# 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
Extract the files and watch with your favorite player
Subtitle : Not Available
Quality: 720p
1.13 GB
Sharing is caring: