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.
If you encounter problems in subscribing, let us know!
- 2021-02-16: alpha12 and the upgrade process! Colors and typography! Action bars! Scaffolds! Image loading! Worries about the beta! And... McDonald's?
- 2021-02-09: Scaling and zooming images! Navigation, for Android and the desktop! Containers! GitHub projects! And... tell me what you think of this newsletter!
- 2021-02-02: alpha11! @iateyourmic on View interoperability and testing! Modifiers! ActivityResult! And... piano chords?!?