Library: DI with koin, RXjava, room, mvvm, Rx retrofit
This app has a small example about chat with socket io using MVVM
The example the provide login function, authencation flow, databinding refer to this branch: https://github.com/vantuan88291/MVVMBaseProject/tree/task/login
Call api with coroutine visit to branch: https://github.com/vantuan88291/MVVMBaseProject/tree/coroutine
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