jetc.dev Newsletter Issue #14
In this issue, we look at the
dev11 Compose/Compose UI release,
ConstraintLayout, multiple options for integrating Coil for image
loading, and the death of (a)
One Off the Stack, One Off the Slack
You’ve got questions. That’s understandable!
Posts, videos, and other new information related to Jetpack Compose!
If you have been working with
Canvas, you may find that your API is now changed
to give you a
drawCanvas() to get to the actual
Our other post on the subject comes from Jorge Castillo,
who also demonstrates the use of
ConstraintLayout, in this case also blending
in Coil support for images, using the Accompanist library that you’ll see later
in this issue.
100% pure code!
Google’s Chris Banes has contributed his Accompanist library to Compose developers. Right now, it offers Coil integration for image loading, and a way to apply existing Material Design Components-based theme to your Compose UIs.
This repo contains some experimental integration of Compose into Square’s Workflow state management system.
…And One More Thing
When Jetpack Compose first came out — back before we even had artifacts —
I filed a bug report about
@Model not supporting
Little did I know that several months later, that issue would be updated…
with information about
@Model being removed.
According to a tweet from Leland Richardson,
this change will land in
dev12 — given the publishing timetable of this
newsletter, that means next week.
So, if you have invested in
@Model in your Compose work, you may want to start
mutableStateOf(), as Leland outlines in that
issue update and the associated Gerrit entry.
If you encounter problems in subscribing, let us know!
- 2021-04-06: Carousels! Snackbars! Navigation! Search bars! Circular reveals! And... Compose is deprecated already?!?
- 2021-03-30: beta03! Modifiers! Notifications with @igorescodro! Themes! Navigation! Foldables! Animations!
- 2021-03-23: Testing! A @getstream_io chat app! All sorts of animations! Design grids! Zooming! A tasty recipe app! And, it is curtains for Compose UI!