Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/morzhanov/android-boilerplate
Android Boilerplate based on MVVM architecture.
https://github.com/morzhanov/android-boilerplate
android android-boilerplate dagger2 injector java retrofit2 rxandroid rxjava viewmodel
Last synced: 5 days ago
JSON representation
Android Boilerplate based on MVVM architecture.
- Host: GitHub
- URL: https://github.com/morzhanov/android-boilerplate
- Owner: morzhanov
- License: mit
- Created: 2017-11-02T20:20:41.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-06T14:03:01.000Z (over 6 years ago)
- Last Synced: 2024-11-08T00:52:38.751Z (about 2 months ago)
- Topics: android, android-boilerplate, dagger2, injector, java, retrofit2, rxandroid, rxjava, viewmodel
- Language: Java
- Homepage:
- Size: 162 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Android Boilerplate
### Android Boilerplate based on MVVM architecture.
## Packages:
* data
Package contains models and DataSource classes to perform CRUD operations.
Package implements Repository pattern.* databinding
Package contains BindingAdapter classes and BindingConversions class for custom conversion methods that uses in databinding.
* di
Package contain classes that implement dependency ibjection in application.
1. ActivityBuilder class creates Subcomponent classes for application Activities and Fragments.
2. AppComponent - application main dagger component.
3. AppModule - provides main objects for application as utils, repository provider and etc.
4. Injector class initializes and performs di in application.
5. ViewModelProviderFactory - used if the viewmodel has a parameterized constructor.* notification
Package contain classes for notification management. Also class can call notification delayed and after system start.
* receiver
Package contain android receivers as NetworkReceiver.
* ui
Package contain all ui elements: Activities, Fragments, ViewModels, custom views, adapters.
Each activity stores in its own package and every fragment stores in its own package within activity package.
Each activity and fragment has ViewModel, Module and Provider classes.* util
Package contain application util classes.
* App
Class extends Application class and this is the main class of application.
It performs Realm and Injector classes initialization.## Installation
1. git clone
2. build with gradle## Author
Vlad Morzhanov
## License
#### (The MIT License)
Copyright (c) 2018 Vlad Morzhanov.
You can review license in the LICENSE file.