Giter VIP home page Giter VIP logo

hostel's Introduction

Icon

Hostel

License Apache 2.0 minSdkVersion 16 compileSdkVersion 27 CircleCI codecov


Structure

This project has two Android modules:

The ViewModels are used to consume reactive streams from repository and update observable fields for data binding.

  • Contains entities, repository, data sources (remote and local) classes.

Since the database is empty, the repository will request the data from remote data source and then save into local data source. The repository exposes only reactive entities.

The local data source saves data into database. The local data source has its own models used internally as well as the remote data source has its own. The local data source uses database that saves data in disk while in testings is used a database that saves in test.

Libraries and tools used

Android

  • Android Support Library Provides additional convenience classes and features not available in the standard Framework API for easier development and support across more devices.
  • Data Binding Write declarative layouts and minimize the glue code necessary to bind application logic and layouts.

Architecture and Design

  • Android Architecture Components A collection of libraries that help you design robust, testable, and maintainable apps. Start with classes for managing your UI component lifecycle and handling data persistence.
  • Dagger A fully static, compile-time dependency injection framework for both Java and Android.

Reactive

  • RX Java A library for composing asynchronous and event-based programs using observable sequences for the Java VM.
  • RX Android RxJava bindings for Android.

View and Image

  • ConstraintLayout Allows you to create large and complex layouts with a flat view hierarchy (no nested view groups).
  • RecyclerView A flexible view for providing a limited window into a large data set.
  • Glide An image loading and caching library for Android focused on smooth scrolling.

Data Request

  • Retrofit A type-safe HTTP client for Android and Java.
  • OkHttp An HTTP & HTTP/2 client for Android and Java applications.
  • Gson A Java serialization/deserialization library to convert Java Objects into JSON and back.

Persistence

  • Room The Room persistence library provides an abstraction layer over SQLite to allow fluent database access while harnessing the full power of SQLite.

Testing

  • Mockito Tasty mocking framework for unit tests in Java.
  • Espresso Write concise, beautiful, and reliable Android UI tests.
  • MockWebServer A scriptable web server for testing HTTP clients.

License

Copyright 2018 André Mion

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.

hostel's People

Contributors

andremion avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

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