jetc.dev Newsletter Issue #22
In this week’s issue, we look at streams of immutable objects, with a particular
StateFlow. We also have some dialogs, look at supplying sample data
to our composable previews, and watch some FABs go 💥.
One Off the Stack, One Off the Slack
You’ve got questions. That’s understandable!
Once again, there were few good answers in Stack Overflow in
Posts, videos, and other new information related to Jetpack Compose!
Jossi Wolf explores
@PreviewParameter. You can add this annotation to a single
parameter of a
@Preview-annotated function, to teach the preview system how to obtain
some data, such as sample data to use in rendering the preview.
100% pure code!
…And One More Thing
Just a quick reminder: Google is not scheduled to release another Compose and
Compose UI set of updates until July 22. So, if you were wondering where
was, we should be getting it next week.
At least, it is probably
According to Google’s stated timeline, in theory we are due for the first alpha release within the 9 weeks or so. Conceivably, this delay is setting the stage for that first alpha.
However, I doubt it. Based on the Kotlinlang Slack discussions, there still seem to be quite a few larger changes due, ones that I would expect (hope?) would land before the alpha series begins. This skipped cycle could be tied to some of that work, or it could simply be slowing the development pace a bit to allow engineers to relax and perhaps get a bit of time off.
Of course, for all we know, Google will change the naming scheme to something
totally different, and we will get the
turboSystem5000 release instead.
But, probably, we will get
dev15, and get to see what changes are in store for us.
- 2021-05-04: Dynamic feature modules! Sharing composables between Android and the desktop! Custom shapes! @lepetitbernat with a settings library! And... an earthquake?!?
- 2021-04-27: beta05! Migrating to Compose! Mixed lists! Effects! Material chips! IntelliJ plugins using Compose for Desktop! And... Star Wars?
- 2021-04-20: Testing! Autofill! Themes! Canvas and animations! Plus @sebi_io shows us Compose for Desktop, including... asteroids?