I have a dropdown list with “show” enabled, so it displays the selected options.
My concern is when I’m modifying the list of options using lv_dropdown_set_show_selected(), the old active option is displayed until I click on the dropdown.
Even if I use lv_dropdown_set_selected() after this modification.
So how can I make the display refreshed ?
What MCU/Processor/Board and compiler are you using?
ESP32 / Lilygo T-Watch 2020 v1
What LVGL version are you using?
What do you want to achieve?
In the description
What have you tried so far?
With / without lv_dropdown_set_selected()
Screenshot and/or video
Example vidéo : https://youtu.be/aScsbUXksQ0
1/ Initially the 1st dropdown show “RDC” and 2nd the corresponding entry with is “Parents”.
2/ When I click on the 1st one, an even is called that updates second’s options.
So I’m expected to see “Amis” but “Parents” remains.
3/ Only when I’m clicking on the 2nd one, it is update
So any tips welcome
ps : the source code is on my git, https://github.com/destroyedlolo/DomoWatch/tree/Dev especially in file TlShutter.cpp