Giter Site home page Giter Site logo

beaver's Introduction

Beaver

THIS IS THE REACTIVE (RXJAVA) VERSION, FOR COROUTINES VERSION GO TO COROUTINES BRANCH

Android Project template using View Model MVVM and Repository Data pattern, with Dagger 2 / Hilt and Jetpack (Androidx) libraries (navigation component, room, worker, etc...).

Template includes basic implementation for a launch screen, a home screen, an authentication screen and a profile screen. Authentication is implemented using OAuth2 and automatically refresh token when a 401 HTTP exception is thrown.

Also features :

  • Permission Launcher Android lightweight library to perform permissions request the right way using ActivityResultCallback.
  • An AlertDialog implementation using DialogFragment that survive state lost and returns actions/results using setFragmentResultListener API. Some kotlin extensions are available to make results even straightforward.
  • Some utilities.
  • Base classes for Adapter/ListAdapter and ViewHolder.
  • Dynamic retrofit url to handle multiple server url (production, pre production, etc...), selector screen/dialog for server not implemented here though.
  • Structured values resources files as recommended(themes, styles, shapes, types).
  • Gradle kotlin DSL.

Common used libraries :

Package structure is inspired from this reading.

beaver's People

Contributors

samystudio avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

beaver's Issues

Light/Dark theme

Integrate basis from a light/dark theme from resources as well as helper to switch from one to anotehr at runtime

Coroutines version

A template version that use coroutines instead of reactive programming

Room Persistent

How to implement Room Persistence Library to this template ?

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.