ColorSelector is an Android application that provides a simple example how to use MVP and MVVM patterns in Android application.
When user opens the application two buttons appear. One is utilising the MVP pattern and the other is using MVVM pattern.
Upon choosing the pattern implementation the user can press the button to change current background color. After the button is pressed toast will appear with the name of the color.
- Java
- MVVM
- MVP
- ButterKnife
- MutableLiveData
- ViewModelProviders
This project uses deprecated technologies. Please check my newer Android project repositories for MVVM pattern examples.