qdsfdhvh/compose-imageloader

Lazy Column

mahramane opened this issue · 2 comments

Hi
I want use imageloader in Lazy Column
how to use that?

Just use it like:

LazyColumn {
    item(10) {
        Image(
            rememberImagePainter(url),
            "image",
        )
    }
}

The default ImageLoader already supports memory caching, so when slide back, It won't re-requesting the remote.

Also you can customise memory or disk caching.

I'm close this issue, you can reopen it if still have problem.