Git Product home page Git Product logo

android-template-project's Introduction

[Build Status

Android Template Project

Example/Quick starter for a project with consolidated knowledge of Android development.

Original problem

The idea came from Funda.nl assignment (link is coming). The app is trying to find top ten brokers by properties numbers.

Project overview

This android application project with two libraries dependencies - core and network.

Decisions about dependencies

  1. Support library for decent UI across different Android versions
  2. Dagger 2 for dependencies management across app and libraries
  3. RxJava for threads management and data manipulation as for now. As for now I'm trying to use functional part of Rx, and I'm planning to start using reactive part as soon as possible
  4. Retrofit as REST client
  5. ButterKnife for view binding sugar syntax
  6. Mockito, Android AssertJ, Robolectric for unit testing

Structure

I'm trying to implement onion architecture. The core module is the core of the project, networking and UI are top layers.

The idea was to make core java library instead of Android, but after hour trying to configure android local maven repository as project repository, I just changed it back to android library type.

Dependencies management

Dagger provides nice opportunity to define dependencies scopes. This project is an attempt to make it right.

UI layer

The idea is to have MVP or MVVM (not decided yet) properly implemented in UI.

Testing

Currently project contains unit tests and some server integration tests. The idea is to add also acceptance espresso tests.

Other interesting repositories for learning

Links are coming!

u2020 qualitymatters

Contribution

I appreciate any contribution by ideas proposals and pull requests with actual implementations.

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.