'How to pass custom model list to Jetpack Glance Widget?

I want to pass custom model list to glance widget but when i send to list and update widget then widget is re-creating.How can i pass custom model list to glance widget.My github project url in below.The purpose of my project is list of last 10 post on reddit androiddev channel https://github.com/mehmetpeker/Jetpack-Glance-Reddit-Widget



Solution 1:[1]

Currently, Jetpack Glance's lists only accept the elements enumerated at construction time. If you want to update the list, you can update the whole App Widget. Remember that you can request an update of the App Widget from anywhere in your app.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 PierreBdR