I have a small doubt with list.
I am working on iot devices. For my devices I have device name and device ID
How to show device names on list and when I click on device name I want to print their respective device ID
From list I am able to get list button text when I click
What MCU/Processor/Board and compiler are you using?
What LVGL version are you using?
What do you want to achieve?
Show device names on list and when I click on list item I want to print their device ids.
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.