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.
- 2021-07-20: rc02! Preview and ViewModel, together again! Coil supports Compose! MVI! @dequesystems on accessibility! Screenshots of composables! D-pad support! And... Context code smells?!?
- 2021-07-13: Focus! Viewports! Navigation! @divyajain2405 talks about architecture! Screenshot testing! Sliders! Reorderable lists!
- 2021-07-06: RC01! Navigation! Phones *and* tablets! Cards! Timers! Barcodes! And... the