Lack of list widget api when upgrading from v7.11 to v8.2.0

Description

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

STM32H7

What LVGL version are you using?

v8.2.0

What do you want to achieve?

replace the list widget api of v7.11 to the v8.2.0

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, Team,
When upgrading from v7.11 to v8.2.0 , found that the structure and API of list widget changed a lot.
I have used some old API like:
lv_list_get_btn_selected
lv_list_focus_btn
lv_list_get_prev_btn

Is there any guide or example ?
Best Reagrds,
James

Hi @JamesJJ ,

I would take a look at this example in the latest documentation.

Hope that helps.

Kind Regards,

Pete

1 Like

Hi, @ pete-pjb,

Many Thanks!
Great help and I will try.

Best Regards,
James

1 Like