Skip to content

The template MVVM android that allow for developer easy to develop

Notifications You must be signed in to change notification settings

vantuan88291/MVVMBaseProject

Repository files navigation

MVVM with databinding

Library: DI with koin, RXjava, room, mvvm, Rx retrofit

This app has a small example about chat with socket io using MVVM

Example Login app:

The example the provide login function, authencation flow, databinding refer to this branch: https://github.com/vantuan88291/MVVMBaseProject/tree/task/login

Coroutine:

Call api with coroutine visit to branch: https://github.com/vantuan88291/MVVMBaseProject/tree/coroutine

Explanation of folder structure

packagename
├── data
│   ├── local
│   │     ├──entity
│   │     ├──model
│   │     └──room
│   │
│   ├── remote
├── di
│   ├── AppModule.kt
├── utils
├── view
│   ├──activity
│   ├──adapter
│   ├──components
│   └──fragment
│
├── App.kt
├── BaseActivity.kt
├── BaseContract.kt
├── BaseFragment.kt
└── BaseView.kt

All lib in dependencies.gradle

To use socket demo, clone project and setup node server: https://github.com/vantuan88291/SocketServer

About

The template MVVM android that allow for developer easy to develop

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages