so I've given myself a project, to make an alarm c...
# android
a
so I've given myself a project, to make an alarm clock app. I've been reading Google's official "DeskClock" app. This class here is a Singleton, and it uses a static init() method to set it up in the DeskClockApplication class. https://android.googlesource.com/platform/packages/apps/DeskClock/+/master/src/com/android/deskclock/data/DataModel.java