Git Product home page Git Product logo

recipelist's Introduction

RecipeList

RecipeList is a book that contains amazing recipes for you via Contentful API !!

Note

Please be aware !! This repository ontains legacy implementations and arhitectures. It's no longer possible to refactor, modernize due to insufficient data source. it's arhieved and won't be supperted in the future.

APK Link (https://drive.google.com/file/d/1lHpgAixNPsk-dwVi8I_msLdweminSHUE/view?usp=sharing)

This project scope covers the substances below

  • Kotlin
  • Single activity multiple fragment approach
  • Offline usage capability
  • MVVM design parttern
  • Fragment / Activity Scoped ViewModels
  • Databinding, ViewBinding
  • ROOM Databases
  • Timber API for client side logging
  • Navigation Component
  • View Transitions in Navigation Component
  • ContentFul API (includes Retrofit API)
  • Kotlin coroutines
  • Live Data
  • Lottie animations
  • Thrust Libraray for Assertions
  • Dependency Injection (HILT)
  • Suspend functions and LiveDataScopes
  • RecylerView with ListAdapter and DiffUtil
  • Facebook shimmer on listing page
  • Glide for picture loading over internet
  • Repository pattern for View Models
  • MockK & JUnit5 for unit Testing
  • JUnit4, HILT usage for integration tests

Possible future innovations after more functionality

  • Search capability for recyclerList
  • Paging for recyclerlist using JetPack Paging library

Application exposition

Main goal is creating a Recipe Listing page and also an another page so as to view some details about it.

Application initiates with a splash screen. After splash animation listing page has been shown.

Listing page has a list insfrastructure so as to display recipes. The data have been fetched via contentful api. Considering to network delay, list loading animation has been provided by facebook shimmer library.

Data is fetched from internet (this case from ContentFul API) and is shown in UI and also it is stored in ROOM databases on the phone. Listing rows shows recipe image and recipe name on the list.

In case of network error, data will be fetched from ROOM DB in order to ensure a offline usage for better user experience

Click action of each row navigates user to detail page of these recipes with view transion animation.

In Detail Page, user can view additional information about recipes (recipe name, recipe visuals, chef name, calories, some tags, description)

ScreenShoots

License

The code is licensed as:

Copyright 2021 Attila Akıncı

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

recipelist's People

Contributors

attilaakinci avatar

Stargazers

 avatar

Watchers

 avatar

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.