github google/accompanist v0.8.0

latest releases: v0.36.0, v0.35.2-beta, v0.35.1-alpha...
3 years ago

Built to work with Jetpack Compose v1.0.0-beta05

New features

Swipe Refresh

We have a new library: Swipe Refresh. This library provides a composable which behaves almost identically to Android's SwipeRefreshLayout. Check out the docs for more information.

Coil and Glide refactoring

Both the Coil and Glide integration libraries have had a huge refactoring over the past month or so. The old CoilImage() and GlideImage() are now deprecated, replaced with a painter function for each:

Image(
    painter = rememberCoilPainter("https://picsum.photos/300/300"),
    contentDescription = stringResource(R.string.image_content_desc),
    previewPlaceholder = R.drawable.placeholder,
)

Check out the updated documentation guide (Coil, Glide), as well as the migration guides (Coil, Glide). This should bring many performance improvements to the composables (more on how to come in a future blog post).

All changes

🙌 Big thanks for our contributors, as well as @nickbutcher, @ricknout, @manuelvicnt, @andkulikov & @matvei-g for the reviews.

Don't miss a new accompanist release

NewReleases is sending notifications on new releases.