Weather Android Application
- Beautifully designed.
- Day and night theme based on time.
- Add up to 4 cities.
- Add widget to home screen
The main components in the MVVM pattern are:
- The View — that informs the ViewModel about the user’s actions
- The ViewModel — exposes streams of data relevant to the View
- The DataModel — abstracts the data source. The ViewModel works with the DataModel to get and save the data.
In MVVM, ViewModel exposes streams of events to which the Views can bind to. Because of this, the ViewModel does not need to hold a reference to the View anymore. This also means that all the interfaces that the MVP pattern requires, are now dropped. View has a reference to ViewModel but ViewModel has no information about the View. The consumer of the data should know about the producer, but the producer — the ViewModel — doesn’t know, and doesn’t care, who consumes the data.
- Android-Iconics : https://github.com/mikepenz/Android-Iconics
- html-textview: https://github.com/SufficientlySecure/html-textview
- Android-Debug-Database: https://github.com/amitshekhariitbhu/Android-Debug-Database
- EventBus: https://github.com/greenrobot/EventBus
- Google Play Location Services: https://developers.google.com/android/guides/setup
- Rxjava2 : https://github.com/ReactiveX/RxJava
- RxAndroid : https://github.com/ReactiveX/RxAndroid
- timber : https://github.com/JakeWharton/timber
- Room : https://developer.android.com/training/data-storage/room/index.html
- dagger2 : https://github.com/google/dagger
- retrofit2 : https://github.com/square/retrofit
- ViewModel : https://developer.android.com/jetpack/androidx/releases/lifecycle
- Material Components for Android : https://material.io/develop/android/docs/getting-started/
- AndroidX : https://developer.android.com/jetpack/androidx
- ConstraintLayout : https://developer.android.com/training/constraint-layout
Copyright (C) 2020 Juan Camilo Sandoval Devia
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.