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.
- 2022-05-17: Google I|O 2022 videos! Compose beta01! Layout()! State! drawBehind()! Credit cards! App intros! And... what's a horologist?!?
- 2022-05-10: StateFlow vs. State! Design systems! MotionLayout! Text editing problems and solutions! And... modal sheets that are actually modal?!?
- 2022-05-03: @aditlal and @JorgeCastilloPr on design systems! KMP + Compose + SwiftUI! Dropdowns! FABs! And, what does Google I|O 2022 have in store for Compose UI developers?