Description
I have created a screen based on the music demo code that displays a scrollable list of songs and has play/pause buttons for each song.
The screen works fine when displayed using the following code:
list = music_list_create(lv_screen_active());
However, when I display the screen using the following code, scrolling and the button image updates do not work. The touch event does work as I can select a song to play.
lv_obj_t * scr1 = lv_obj_create(NULL);
lv_obj_t * scr2 = lv_obj_create(NULL);
list = music_list_create(scr1);
//ctrl = music_main_create(scr2);
lv_screen_load(list);
I also tried the following and scrolling and the buttons work, but the scroll messes up the screen
list = music_list_create(NULL);
lv_screen_load(list);
I can’t find any complete examples. I assume there are some configuration steps that I am missing.
What MCU/Processor/Board and compiler are you using?
Raspberry Pi 3B+
What LVGL version are you using?
9.0
