Android MVVM with CommandBus - Full Part 1 - BaseViewModel and BaseActivity
Dry Code
In this episode we'll create the project in Android Studio and start adding the dependencies for Koin, RxJava and Firebase. Then we'll setup Koin dependencies and provide for the 2 Schedulers that we're going to be using in the BaseViewModel. After that, we'll setup the CommandBus solution core starting with the BaseViewModel and continuing on into the BaseActivity
0:00 The Plan 0:47 Creating the Project 2:30 Setting up Koin 5:48 Creating BaseViewModel 8:05 Creating BaseActivity The CommandBus is a term I use to refer to this new solution for the problem of View/ViewModel communication in the Android MVVM architecture. It makes for more readable and testable code which you'll see in this video series
Code for all the course episodes can be found here: https://github.com/Odaym/Fire-Login - REMEMBER that you need to replace the project's google-services.json file with your own for it to work correctly with Firebase.
Firebase Console: https://console.firebase.google.com/
#AndroidMVVM #AndroidMVVMKotlin #Programming #MVVM
Follow me on Twitter: https://twitter.com/odaymaleh ... https://www.youtube.com/watch?v=cLjBhAUl4zU
30454942 Bytes