Hi everyone,
Is there a way to create an lvgl image, drag and drop it, and then when moving, check for collision with another image.
Seems no events are working for me
lv_obj_t* img = lv_img_create(NULL);
lv_img_set_src(img, &my_image);
lv_obj_add_event_cb(img, do_something, LV_EVENT_PRESSING, NULL);
I don’t know if someone already tried to do something like this.
If possible I don’t want to use imgbtn
which is slower than the img
element (I’m using LittleFS for rendering)
Thanks a lot for help