This Is A Live Covid-19 tracker Application With Advance Library.
https://mega.nz/file/z5lmyaJB#qT4LGXkzfD-1SsfzIngdtFuAE81JsS3G7TFi0AYhriE
- Hilt (dependency injection)
- Viewmodel
- databinding
- Material Design
- Navigation Component
- MVVM Architecture Component
This repository contains a detailed sample app that implements MVVM architecture using Hilt, Room, RxJava, Glide, Navigation Component.
- Yes , liveData is easy , powerful , but you should know how to use.
- For livedate which will emit data stream , it has to be in your data layer , and don't inform those observables any thing else like in which thread those will consume , cause it is another
- For livedata which will emit UI binding events, it has to be in your ViewModel Layer.
- Observers in UI Consume and react to live data values and bind it.
responsibility , and according to
Single responsibility principle
inSOLID (object-oriented design)
, so don't break this concept by mixing the responsibilities .
Reactive extensions in Java allow you to manipulate multiple actions that occur due to certain system events simultaneously. Rx gives you a possibility to use functional transformations over streams of events and it doesn't require using nasty things like callbacks and global state management.
👉 If You Want To Dont't Load On Ui Thread Then You Should Use Background Thread. RxJava Doing Same For That Workd.
- RxJava2: https://github.com/amitshekhariitbhu/RxJava2-Android-Samples
- Hilt : https://developer.android.com/training/dependency-injection/hilt-android
- Retrofit : https://github.com/amitshekhariitbhu/Fast-Android-Networking
- Glide: https://github.com/bumptech/glide
- LiveData And ViewModel: https://developer.android.com/jetpack/androidx/releases/lifecycle
Copyright (c) 2020 myprivateproject02
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.