You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The first time you call StfalconImageViewer.show(), the method used to load the image is called 2 times, because of this, the image may suddenly disappear / appear again, which is not nice.
This happens only on the first call, if you scroll through the gallery with gestures, then one call occurs as it should be.
To Reproduce
Steps to reproduce the behavior:
I tried running the demo there this error is reproducible as well.
To do this, just open file "com.stfalcon.sample.features.demo.grid.PostersGridDemoActivity" and replace method "loadPosterImage" to the following code:
Then we start the emulator (api 29), go to this window, open the console to display our error, clear it to remove the outputs loaded in the image grid.
We open any image in the grid, and we see on the console that the open image was loaded 2 times, that is, the callback was called twice.
The text was updated successfully, but these errors were encountered:
Describe the bug
The first time you call StfalconImageViewer.show(), the method used to load the image is called 2 times, because of this, the image may suddenly disappear / appear again, which is not nice.
This happens only on the first call, if you scroll through the gallery with gestures, then one call occurs as it should be.
To Reproduce
Steps to reproduce the behavior:
I tried running the demo there this error is reproducible as well.
To do this, just open file "com.stfalcon.sample.features.demo.grid.PostersGridDemoActivity" and replace method "loadPosterImage" to the following code:
Then we start the emulator (api 29), go to this window, open the console to display our error, clear it to remove the outputs loaded in the image grid.
We open any image in the grid, and we see on the console that the open image was loaded 2 times, that is, the callback was called twice.
The text was updated successfully, but these errors were encountered: