And yes, the visibiltiy is needed both in showImage/showVideo AND in onStatusChanged / onErrorChanged otherwise this isn't fixed fully
Motivation:
If it's only in onStatusChanged / onErrorChanged the error message won't get cleared when previewing an image AFTER an errornous video file (e.g. "Not found").
If it's only in showImage / showVideo the error message won't appear at all.
…ornous video file and the other way around, ofc.
And yes, the visibiltiy is needed both in showImage/showVideo AND in onStatusChanged / onErrorChanged otherwise this isn't fixed fully
Motivation:
Before:
After: