google / accompanist

A collection of extension libraries for Jetpack Compose
https://google.github.io/accompanist
Apache License 2.0
7.47k stars 601 forks source link

I use compose Coil in Paging LazyColumn, and it often fails to load #519

Closed luhuanxml closed 3 years ago

luhuanxml commented 3 years ago

Describe the bug

A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots?

If applicable, add screenshots to help explain your problem.

Environment:

Additional context

Add any other context about the problem here.

chrisbanes commented 3 years ago

Without a reproducible sample this is impossible to debug. I use a similar setup in Tivi and it works as expected.

sergejsha commented 3 years ago

I had this bug today while trying out examples from "Layouts in Jetpack Compose - Working with Lists" and I wasn't able to fix it.

Exactly the code from the CodeLab showed the list with no images on emulator, while on the real device (Honor FRD-L09, Android 7.0) the code worked as expected and the icons were visible.

Emulator screenshot:

Screenshot 2021-07-17 at 18 38 12

Emulator: Pixel 2, API 29, Android Studio Bumblebee | 2021.1.1 Canary 3 Build #AI-211.7442.40.2111.7518594, built on July 2, 2021 Runtime version: 11.0.10+0-b96-7281165 x86_64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. macOS 11.4 GC: G1 Young Generation, G1 Old Generation Memory: 3072M Cores: 8 Registry: ide.instant.shutdown=false, external.system.auto.import.disabled=true Non-Bundled Plugins: org.jetbrains.kotlin (211-1.5.21-release-317-AS7442.40)

chrisbanes commented 3 years ago

As Accompanist-Coil is now deprecated, I'm going to close this. Please try out the new official Coil support!