Giter Site home page Giter Site logo

anikinkirill / foodrecipes Goto Github PK

View Code? Open in Web Editor NEW
2.0 0.0 1.0 846 KB

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

Kotlin 85.51% Java 14.49%
mvvm-architecture retrofit2 networkboundresource cache rest-api kotlin java

foodrecipes's Introduction

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

foodrecipes's People

Contributors

anikinkirill avatar

Stargazers

 avatar  avatar

Forkers

pramodk007

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.