https://github.com/systangotechnologies/androidmvvmboilerplate
https://github.com/systangotechnologies/androidmvvmboilerplate
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/systangotechnologies/androidmvvmboilerplate
- Owner: SystangoTechnologies
- Created: 2020-12-08T09:38:56.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-12T14:36:48.000Z (over 5 years ago)
- Last Synced: 2025-02-03T22:40:51.238Z (over 1 year ago)
- Language: Kotlin
- Size: 152 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MVVM Boilerplate
## Introduction
This is an android boilerplate developed with MVVM architecture and Jetpack components.
Download or clone this repo by using the link below:
```
git clone https://gitlab.com/systango/open-source/android-mvvm-boilerplate
```
To run the app on device press Shift + F10
## Dependencies Used
* Retrofit and Gson converter
* Life-cycle and View model component
* Dragger
## Features
* MVVM : Data Binding
* Generic API structure.
* Generic Folder structure.
* Commonly used functions
## Folder Structure
```
app
|- manifest
|- AndroidManifest.xml
|- java
|- com.systango.mvvm
|- common
|- AppUtil
|- GlideUtils
|- dagger
|- ActivityComponent
|- MovieViewModelModule
|- data
|- datarepository
|- MovieDataRepository
|- model
|- MovieData
|- MovieResponseModel
|- network
|- ApiCallback
|- ApiClient
|- ApiInterface
|- ApiObserver
|- DataRepository
|- DataWrapper
|- GenericResponse
|- viewmodel
|- MovieListViewModel
|- SplashViewModel
|- scene
|- base
|- BackHandlerInterface
|- BaseActivity
|- BaseFragment
|- home
|- HomeFragment
|- splash
|- SplashActivity
|-MainActivity
|- com.systango.mvvm
|- com.systango.mvvm
|- java (generated)
|- res
|- drawable
|- layout
|- mipmap
|- values
|- res(generated)
|- Gradle Scripts
```
## Conclusion
This boilerplate project is based on Kotlin with MVVM designing pattern. Supported on android devices.Activity and fragments are managed along with callbacks,proper life cycle of activity and fragment has been managed into it along with API Integration.Also common functions are added into it.