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
- Retrofit and Gson converter
- Life-cycle and View model component
- Dragger
- MVVM : Data Binding
- Generic API structure.
- Generic Folder structure.
- Commonly used functions
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
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.