Just a simple application showcasing the usage of Android Architecture Components. It does not make any usage of Dependency Injection (such as Dagger), since the purpose of it is to keep it simple :-)
- ViewModel, in order to show the basic behavior of keeping the state of the screen after configuration changes
- AndroidViewModel, same as ViewModel, but using the application context
- LiveData, in order to show how we can use the Observable pattern in order to check for new changes
- Lifecycle, being able to track the lifecycle of our Activity/Fragment
- Transformation, in order to perform any change (map/switchMap) in our data before returning it
Android Studio
JDK 1.8
Android SDK
All code licensed under the MIT License. You are free to do whatever you want with this piece of code. Check it out the LICENSE.md file for more info.