How to create custom view for buttons

Description

Hi,
How to create buttons dynamically?
I have an array I want to show this array in the form of buttons is it possible with lvgl?
For example
I want to create two buttons horizontally(row) and for vertical I want to increase more as per the array and it scroll like page or list.

How to create this view?
Thanks in advance.

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

ARM

What LVGL version are you using?

V7

What do you want to achieve?

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.

Hi any update on this topic ?