Description
Hello, I want to have several “screens” with the same layout but different text, and go between them with encoder’s next/prev keys - so far I’ve only added lvgl screen to the group. It can be modeled with something like tiles
widget, but I do not want to create those tiles separately. What I want is to somehow get notified that next
or prev
is issued and then only make several lv_label_set_text
calls.
Basically you can imagine an obj
with 2 label
widgets as a children.
What LVGL version are you using?
8.3.4
What have you tried so far?
I tried to subscribe to the LV_EVENT_KEY
, but it is not getting issued for next/prev
I also tried LV_EVENT_ALL
to then find event that will be issued on next/prev, but I didn’t find any.