Skip to content

Latest commit

 

History

History
46 lines (34 loc) · 1.08 KB

README.md

File metadata and controls

46 lines (34 loc) · 1.08 KB

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