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
- Migrate ShouldRefetchOnSizeChange to fun interface (#356) @chrisbanes
- [SwipeRefresh] Simplify drag handling for now (#355) @chrisbanes
- Add link to System UI Controller (#352) @chrisbanes
- [Coil][Glide] Update docs for recent changes (#351) @chrisbanes
- [SwipeRefresh] Make indicator more flexible (#350) @chrisbanes
- Try out Gradle 7.0's Version catalogs (#345) @chrisbanes
- Update to Compose SNAPSHOT 7285231 (#341) @chrisbanes
- [Image] LoadPainter (#321) @chrisbanes
- Update test runs on CI (#339) @chrisbanes
- Fix Modifier Url (#340) @volkansahin45
- Update currentPager after calling scrollToPage() (#338) @chrisbanes
- [SwipeRefresh] Update doc page (#334) @chrisbanes
- Tidy up Pager samples (#332) @chrisbanes
- Fix docs build actions (#331) @chrisbanes
- New SwipeRefresh composable (#264) @chrisbanes
- Fix misspelling: supercedes -> supersedes (#323) @LouisCAD
- Add SwipeRefresh custom sample (#320) @ricknout
- [SystemUiController] API fixes (#319) @chrisbanes
- [SystemUiController] Add Window.isNavigationBarContrastEnforced APIs (#318) @joharei
- New Image composable (#220) @chrisbanes
🙌 Big thanks for our contributors, as well as @nickbutcher, @ricknout, @manuelvicnt, @andkulikov & @matvei-g for the reviews.