when i press an item on the list, it will get focus. but for me, i just want to do a scroll without changing focus. how can i do that?
Hi
I think you need this:
lv_obj_add_protect(my_list, LV_PROTECT_CLICK_FOCUS);
nope, add this protect will prevent focusing, but i still need focusing after clicked.
use LV_PROTECT_PRESS_LOST 属性
Almost, but you need to apply it on the button:
lv_obj_add_protect(list_btn1, LV_PROTECT_CLICK_FOCUS);