This is a standalone Gradle-based version of the Dots/DotView/TouchMe MVC Android UI Demo from chapter 6 of Programming Android, 2nd Edition by Zigurd Mednieks et al., O'Reilly Media, 2012, ISBN-13: 978-1-4493-1664-8.
Please refer to the book chapter for detailed information on this example.
- Mapping the model-view-controller (MVC) architecture to Android
- Defining custom view components in Android
- Understanding the difference between model-view-controller and model-view-adapter (MVA)
- Android application life cycle management
Setting up the Environment
Check out the project using Android Studio. This creates the
with the required line
sdk.dir=<root folder of Android Studio's Android SDK installation>
Running the Application
In Android Studio:
Run > Run AndroidUIDemo