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-01-19: alpha10 changes! Floating action menus! Charts! The Surface Duo! Input methods built with Compose! ...and ellipsizing text!
- 2021-01-12: layout()! Navigation with Parcelables! Custom drawers! Compose for Desktop! And Compose... for iOS?!?
- 2021-01-05: Navigation arguments! ViewModel? Shapes! GraphQL and Compose! More shimmers! In-browser Compose! And the power of names!