Closed pawelcala closed 1 year ago
I've been trying to investigate this for many weeks but it has proved difficult to reproduce! If you're able to consistently run into this, could you please share a reproducer project or a fork branch?
https://gist.github.com/pawelcala/68fa20a41e37c1868a81f16bfea81856
if you go few times between first and last item the crash will eventually occur.
Also had this happen but not in a horizontalpager. Just inside a box with .fillMaxSize(),
(v1.0.0-alpha02)
I cant' reliable reproduce it, but I had this happen by opening a image (which opens a imageviewer and creates a ZoomableAsyncImage) And quickly double tapping on the image. Basically as soon as I see the image come in view.
Whoops I misread the original stacktrace and confused it with a different bug. This one is already fixed on trunk
. Would either of you two mind using 0.5.0-SNAPSHOT
until I'm able to make a stable release?
How can I use 5.0.0-SNAPSHOT
? I used v1.0.0-alpha02
because that was the latest I could find. I have included the snapshots url https://oss.sonatype.org/content/repositories/snapshots/
in my repositories.
Snapshot versions are hosted on a separate maven repository which will need to be added to your buildscript:
repositories {
google()
mavenCentral()
maven {
url 'https://oss.sonatype.org/content/repositories/snapshots/'
}
}
1.0.0-alpha02
is actually older than 0.1.0
. I was originally planning to use 1.0.0
as telephoto's first version but I realized I should iron out any bugs first. Sorry for the confusion!
nvm, had settings.gradle overriding everything
Lol yea sorry I meant 0.5.0
and not 5.0.0
. I'm going ahead and closing this issue. Please re-open if you continue to see it?
Using ZoomableAsyncImages inside HorizontalPager. If I use animateScrollToPage on PagerState to second next page (suppose not loaded yet) i get crash:
Occurs every time.