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-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?