Skip to content

androidstarters/generator-android-architecture

Repository files navigation

generator-android-architecture

NPM version Build Status Dependency Status Coverage percentage

Yeomon generator to create android app using googlesamples android-architecture.

Demo

Installation

First, install Yeoman and generator-android-architecture using npm (we assume you have pre-installed node.js).

npm install -g yo
npm install -g generator-android-architecture

Then generate your new project:

mkdir NewApp && cd $_
yo android-architecture

Example

➜  NewApp yo android-architecture

     _-----_     ╭──────────────────────────╮
    |       |    │   Welcome to the badass  │
    |--(o)--|    │ generator-android-archit │
   `---------´   │     ecture generator!
    ( _´U`_ )    ╰──────────────────────────╯
    /___A___\   /
     |  ~  |
   __'.___.'__
 ´   `  |° ´ Y `

? What are you calling your app? NewApp
? What package will you be publishing the app under? in.architecture.sample
? Choose architecture from https://github.com/googlesamples/android-architecture? (Use arrow keys)
❯ todo-mvp - Basic Model-View-Presenter architecture.
  todo-mvp-loaders - Based on todo-mvp, fetches data using Loaders.
  todo-databinding - Based on todo-mvp, uses the Data Binding Library.
  todo-mvp-clean - Based on todo-mvp, uses concepts from Clean Architecture.
  todo-mvp-dagger - Based on todo-mvp, uses Dagger2 for Dependency Injection.
  todo-mvp-rxjava - Based on todo-mvp, uses RxJava for concurrency and data layer abstraction.
  todo-mvp-contentproviders - Based on todo-mvp-loaders, fetches data using Loaders and uses Content Providers.

Getting To Know Yeoman

  • Yeoman has a heart of gold.
  • Yeoman is a person with feelings and opinions, but is very easy to work with.
  • Yeoman can be too opinionated at times but is easily convinced not to be.
  • Feel free to learn more about Yeoman.

License

Apache-2.0 © Ravindra Kumar

Packages

No packages published

Languages