A simple tic tac toe app, to illustrate the use of MVC, MVP, and MVVM architectures to organize the application.
A simple tic tac toe app, to illustrate the use of MVC, MVP, and MVVM architectures to organize the application.
The master branch contains just the model - The brains & state of the tic tac toe game.
Other branches contain the model, plus a User Interface following:
It is intended to be a reference to show the concepts of MVC, MVVM, and MVP on Android.
This post and project was created before the GoogleIO 2017 announcment of Android ViewModels and the Android Architecture Components, which changes the way we think about ViewModels in the Android Lifecycle.
I hope this project/post is useful to you! Thank you for reading.
Eric