https://kotlinlang.org logo
z

zhuinden

03/04/2021, 10:04 AM
I've successfully managed to transition between two composables in https://github.com/Zhuinden/simple-stack-compose-integration/blob/bb3410086dd40041[…]en/simplestackcomposeintegration/core/ComposeIntegrationCore.kt but Accompanist/CoilImage is flickering. What can I do about it? 🤔
although if CoilImage stores stuff in Saver then it's still on me to fix
doesn't seem to be doing that tho
a

allan.conda

03/04/2021, 10:12 AM
Might be related to this? I’m guessing your images are being reloaded again. And seems your image is maxWidth() that’s why the wrapContentHeight() results to flicker https://github.com/chrisbanes/accompanist/issues/221
e

eygraber

03/04/2021, 10:13 AM
I had something like this happen with the fadeIn EnterTransition. Maybe there's a shared underlying cause? https://issuetracker.google.com/issues/181156422