@inproceedings{693da54447b34c5f91f96a0981845cc6,
title = "Using Dependency Injection for the Singleton Design Pattern in Android Apps",
abstract = "An advanced IT programming course has been enhanced with app development in the context of Android. To properly carry out such development, it is essential to master data communication among activities, the fundamental app functional units. One important element of such communication is the singleton design pattern (“singleton”). A dependency-injection framework called Hilt is presented as the implementation vehicle for singletons. Examples of Hilt{\textquoteright}s usage are presented, and consolidated details for incorporating the Hilt framework into an app are given. Overall, the use of dependency injection enhances students{\textquoteright} programming experiences and complements the object-oriented design component of the course. The students get exposure to additional advanced features of Java, such as annotations.",
keywords = "Activity, Android, Android app, Dependency Injection, Hilt, Singleton",
author = "Michael Halper",
note = "Publisher Copyright: {\textcopyright} 2024 Copyright held by the owner/author(s).; 25th Annual Conference on Information Technology Education, SIGITE 2024 ; Conference date: 09-10-2024 Through 11-10-2024",
year = "2024",
month = dec,
day = "8",
doi = "10.1145/3686852.3689655",
language = "English (US)",
series = "Proceedings of 25th Annual Conference on Information Technology Education, SIGITE 2024",
publisher = "Association for Computing Machinery, Inc",
pages = "79--84",
booktitle = "Proceedings of 25th Annual Conference on Information Technology Education, SIGITE 2024",
}