项目作者: androidstarters

项目描述 :
[Yeoman Generator] Create android app using googlesamples/android-architecture.
高级语言: Java
项目地址: git://github.com/androidstarters/generator-android-architecture.git
创建时间: 2016-07-26T05:56:01Z
项目社区:https://github.com/androidstarters/generator-android-architecture

开源协议:Other

下载


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

  1. npm install -g yo
  2. npm install -g generator-android-architecture

Then generate your new project:

  1. mkdir NewApp && cd $_
  2. yo android-architecture

Example

  1. NewApp yo android-architecture
  2. _-----_ ╭──────────────────────────╮
  3. | | Welcome to the badass
  4. |--(o)--| generator-android-archit
  5. `---------´ │ ecture generator! │
  6. ( _´U`_ ) ╰──────────────────────────╯
  7. /___A___\ /
  8. | ~ |
  9. __'.___.'__
  10. ´ ` |° ´ Y `
  11. ? What are you calling your app? NewApp
  12. ? What package will you be publishing the app under? in.architecture.sample
  13. ? Choose architecture from https://github.com/googlesamples/android-architecture? (Use arrow keys)
  14. todo-mvp - Basic Model-View-Presenter architecture.
  15. todo-mvp-loaders - Based on todo-mvp, fetches data using Loaders.
  16. todo-databinding - Based on todo-mvp, uses the Data Binding Library.
  17. todo-mvp-clean - Based on todo-mvp, uses concepts from Clean Architecture.
  18. todo-mvp-dagger - Based on todo-mvp, uses Dagger2 for Dependency Injection.
  19. todo-mvp-rxjava - Based on todo-mvp, uses RxJava for concurrency and data layer abstraction.
  20. 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