Skip to content

Files

Latest commit

b9b27fb · Nov 29, 2023

History

History
This branch is 47 commits behind square/picasso:master.

picasso-compose

README.md

Picasso Compose Ui

A [Painter] which wraps a [RequestCreator]

Usage

Create a Painter using the rememberPainter extension on a Picasso instance.

val picasso = Picasso.Builder(context).build()
val painter = picasso.rememberPainter(key = url) {
  it.load(url).placeholder(placeholderDrawable).error(errorDrawable)
}