This is a proof of concept that Glance for Jetpack Compose can be used to make Android App Widgets that have game elements inside of them. The widget app is downloadable/playable Number Puzzle Widget on Google Play as well.
Feel free to ask questions.