Skip to content

Application with MVVM architecture and Retrofit2. We use recipesapi.herokuapp.com API to fetch data. User can see food recipes and data even will save to the CACHE. So if user want to see recipe, but he does not have enternet connection, app will check the recipe in the cache and show it

Notifications You must be signed in to change notification settings

ANIKINKIRILL/FoodRecipes

Repository files navigation

FoodRecipes App

Application with MVVM architecture and Retrofit2. We use api to fetch data. User can see food recipes and data even will save to the CACHE. So if user want to see recipe, but he does not have enternet connection, app will check the recipe in the cache and show it

1. Architecture

This uses Google company's architecture. This architecture allows developer to observe any change that happend with the object. Google suggest to use this one in youre projects. Check out the guide for this architecture alt text

2. Retrofit2

A type-safe HTTP client for Android and Java, Kotlin. Check out this website to see more. Using this library we will get data from the Rest Api

3. Cacheing using Room

The Room persistence library provides an abstraction layer over SQLite to allow for more robust database access while harnessing the full power of SQLite. Check out this website to see more. Using this library we will CREATE, READ, UPDATE and DELETE (CRUD) our data to device cache

About

Application with MVVM architecture and Retrofit2. We use recipesapi.herokuapp.com API to fetch data. User can see food recipes and data even will save to the CACHE. So if user want to see recipe, but he does not have enternet connection, app will check the recipe in the cache and show it

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published