Open picture blinks

Author: MouseKing1993Created Aug 8, 2022Updated Jun 6, 2023

Please provide as much of the following information as possible. Please do not raise issues to ask for help developing your app.

Expected behaviour

Seamless switching from preview image to real image

Actual behaviour

The picture with angle change will be black for a while when switching

Steps to reproduce

val source = ImageSource.uri(Uri.fromFile(file)).dimensions(wh[0],wh[1]) scaleView.setImage(source,ImageSource.bitmap(bitmap))

Problem code: subsamplingscaleimageview.ontilesinitiated

Affected devices

all

Affected images

(Attach images you have problems with)

https://user-images.githubusercontent.com/20008456/183365276-e331c1b7-81b5-43e4-a337-c43e9865a967.mp4

Source: davemorrissey/subsampling-scale-image-view