generator-mvp-kotlin
v0.5.1
Published
Generator for new Android project to save me from creating basic file over & over again with MVP architecture.
Downloads
4
Maintainers
Readme
generator-mvp-kotlin
Generator for new Android project to save me from creating basic file over & over again with MVP architecture.
The structure of the project follow the architecture from Mindorks. If you want to know more about the architecture you can read their blog here. There are several differences from the original architecture in this project such as, in this project i use Realm instead of greenDao.
This Project uses
- Realm
- Dagger 2
- Retrofit 2
- OkHttp Logging Interceptor
- Stetho
- Stetho Realm
- RxJava 2
- RxAndroid
- RxBinding
- Glide 4
- Mockito
- Gson
Installation
First, install Yeoman and generator-mvp-kotlin using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-mvp-kotlin
Then generate your new project:
yo mvp-kotlin
Fill the questions that meet your project need.
After done creating the project, open the project in Android Studio and wait until gradle finish its build. Because the project use Dagger as dependency injection, you have to make the project first by going to Build -> Make Project.
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 © Rifqi Mulya Fahmi
Copyright 2018 Rifqi Mulya Fahmi
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.