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-10-12: Overscroll! Responsive layouts! Accessibility! Reorderable lists! Foldables! Testing with an Espresso wrapper! And... testing with robots?!?
- 2021-10-05: 1.0.3! 1.1.0-alpha05! Scopes! Compose in production! rememberUpdatedState()! And... particles of Compose?!?
- 2021-09-28: @androidamanda on declarative UIs! Keyboard handling! Swapping themes! Pickers, pickers, and more pickers! And... LED matrix displays?