An open API service indexing awesome lists of open source software.

https://github.com/systangotechnologies/androidmvvmboilerplate


https://github.com/systangotechnologies/androidmvvmboilerplate

Last synced: about 1 month ago
JSON representation

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.