How to know image display success? an event or function return I can't find such things

How to know image display success? an event or function return I can’t find such things.

Hello, everybody, I do not find a return from image api, when it tells current display successed. Do I miss something? please commit!

Description

For example, an API or task need to know another thread display result. How to handle it?
Do lvgl have an event manager?

What MCU/Processor/Board and compiler are you using?

esp32

What do you want to achieve?

make an event or massage across threads.

This is something you need to handle yourself, as it’s specific to the OS you use, and not LittlevGL.

Probably using a message queue or some similar construct would work best.

Sorry,I don’t quite understand. take void lv_img_set_src(lv_obj_t * img, const void * src_img) for example, this image API do not return any result(ok or fail). I know OS can handle toe message but first I need to know that API run success or failed.

lv_img_set_src can only fail if you are trying to load an image from a file. In the other cases (pointer to image structure or a symbol) it shouldn’t be able to fail.