updateRetainedImages method
Releases the previously retained images and retains the images that retainedImages currently returns.
This only has an effect while the component is mounted, since the images are retained on mount anyway.
Implementation
@protected
void updateRetainedImages() {
if (_isRetaining) {
_retain();
}
}