Hi,
I faced a one-time issue where an old image’s part didn’t clear after updating the image source.
Initially, I called:
lv_img_set_src(leftTempValue, PNG_RES_PATH(“hi”));
and the screen correctly showed “HI”.
Later, I updated it with:
lv_img_set_src(leftTempValue, PNG_RES_PATH(“22”));
The new image (“22”) appeared, but part of the old image (“I” from “HI”) was still visible on the screen.
It happened only once and I couldn’t reproduce it again.
Is there any recommended API to call before lv_img_set_src() to ensure the previous image area is always properly cleared or invalidated?
