Android widgets development: native programming with Kotlin and JetPack Glance
Raynov, Aleksandar (2023)
Raynov, Aleksandar
2023
All rights reserved. This publication is copyrighted. You may download, display and print it for Your own personal use. Commercial use is prohibited.
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi:amk-2023100626975
https://urn.fi/URN:NBN:fi:amk-2023100626975
Tiivistelmä
This thesis paper describes the design and implementation of Android application’s widgets using a modern modular architecture and the new beta version of the JetPack Glance framework. The primary objective of this thesis is to explore the possibilities and limitations presented in the current stage of JetPack Glance.
The theoretical part of the thesis discusses Android as a platform, tools, the programming environment, and the transition from the imperative style of coding to the modern declarative paradigm introduced with Kotlin and JetPack Compose. A comparison between established widget programming practices and the new emerging techniques is conducted during the development process.
The tools used in development include Android Studio Flamingo, Kotlin, and JetPack Glance.
The findings of this study suggest that while JetPack Glance offers several advantages over traditional widget development, it is still in its early stages of development and faces limitations and challenges that require addressing. Developers should thoughtfully consider their use cases and carefully weigh the benefits and drawbacks of JetPack Glance before integrating it into their projects. As the framework matures and evolves, it has the potential to become a powerful tool for building widgets for the Android ecosystem.
Keywords: Android, Kotlin, JetPack, Compose, Glance, Widget, Imperative, Declarative, Framework
The theoretical part of the thesis discusses Android as a platform, tools, the programming environment, and the transition from the imperative style of coding to the modern declarative paradigm introduced with Kotlin and JetPack Compose. A comparison between established widget programming practices and the new emerging techniques is conducted during the development process.
The tools used in development include Android Studio Flamingo, Kotlin, and JetPack Glance.
The findings of this study suggest that while JetPack Glance offers several advantages over traditional widget development, it is still in its early stages of development and faces limitations and challenges that require addressing. Developers should thoughtfully consider their use cases and carefully weigh the benefits and drawbacks of JetPack Glance before integrating it into their projects. As the framework matures and evolves, it has the potential to become a powerful tool for building widgets for the Android ecosystem.
Keywords: Android, Kotlin, JetPack, Compose, Glance, Widget, Imperative, Declarative, Framework