Hello I need help for my app

Hi everyone,
I could use some help with my app. I’m trying to set it up so that when a user clicks a button, the app generates a list with two parts:
1. Essentials – items that are always included.
2. Extras – items that change depending on the settings the user selected. The number of extras should vary based on those settings, and they should be randomly picked so that each time the button is clicked, the user gets a slightly different list.
I’ve been struggling to make this work in Glide, so if anyone has advice on how to structure this or if code/logic is needed, I’d really appreciate your guidance.
Thanks in advance!

How do you define a “list”? Is it a set of rows that the app has to generate? Or can it be just a string?

The goal here is that the app generates a list of items for example, camping list of what they should bring based on the days, season what ever

But like @ThinhDinh asked, what do you mean by list? In terms of glide, that usually means a collection based on rows of data where each item is in its own row. Or do you just want a bit of text generated? Is this a list users will interact with in some way, such as a checklist with boxes to check off or just some text written out as a list and viewed in a single text component?

All items are in there own rows and yes just like a check list once it is generated so it makes it easy to pack