Git Product home page Git Product logo

guest-reservations-sample's Introduction

Guests reservations application example with Android Architecture MVVM components and Clean Architecture

Guests reservations app that shows how to architect an android app in a Clean Architecture with Android Architecture MVVM components and Kotlin Coroutines. It shows a list of guests (have reservations and need reservations) that is stored and fetched from local storage.

The data of guests can be changed in GuestSelectionViewModel.kt class: change the constant in saveGuests() method into SAMPLE_DATA_LONG or SAMPLE_DATA_SHORT (defined in Constants.kt class)

Technical

Libraries

Android Jetpack

  • ViewBinding A feature that allows you to more easily write code that interacts with views.

  • LiveData Build data objects that notify views when the underlying database changes.

  • ViewModel Store UI-related data that isn't destroyed on app rotations. Easily schedule asynchronous tasks for optimal execution.

  • ConstraintLayout ConstraintLayout allows you to create large and complex layouts with a flat view hierarchy (no nested view groups).

HTTP

  • Moshi Moshi is a modern JSON library for Android, Java and Kotlin. It makes it easy to parse JSON into Java and Kotlin classes.

Coroutines

  • Kotlin Coroutines Coroutines is a rich library for coroutines developed by JetBrains. It contains a number of high-level coroutine-enabled primitives that this guide covers, including launch, async and others.

DI

  • DaggerHilt DaggerHilt is a dependency injection library for Android that reduces the boilerplate of doing manual dependency injection in your project.

guest-reservations-sample's People

Contributors

balevuta 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.