How to add container to LVGL list

Description

Hi,
is it possible to add container to LVGL list instead of lv_list_add_btn

What MCU/Processor/Board and compiler are you using?

ARM

What LVGL version are you using?

7

What do you want to achieve?

I have a container with some labels.
i am getting some data from my server. i want to assign data to labels and create a list.

What have you tried so far?

Code to reproduce

Add a code snippet which can run in the simulator. It should contain only the relevant code that compiles without errors when separated from your main code base.

The code block(s) should be formatted like:

/*You code here*/

Screenshot and/or video

If possible, add screenshots and/or videos about the current state.

You can try adding the container as a child of the list object, but generally it’s easier to just make a page and add custom elements to it.

To get a similar layout to the list take a look at the lv_list_create and lv_list_add_btn implementations.