This is an implementation of a connect 4 style game that uses AndroidX/Jetpack ViewModel to implement a MVVM pattern and uses ViewModel to save state across orientation changes.
alphamu/Android-ConnectFour-MVVM
A demo of using ModelView with the MVVM pattern to create a Connect Four style game. The same saves state across orientation changes.
Java