qdsfdhvh / compose-imageloader

Compose Image library for Kotlin Multiplatform.

Home Page:https://qdsfdhvh.github.io/compose-imageloader/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lazy Column

mahramane opened this issue · 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.