jetc.dev Newsletter Issue #10
Google is sticking with their every-two-weeks release cadence, so
last week! In this issue, we will look at some ramifications of that, plus
snackbars, animations, and life.
One Off the Stack, One Off the Slack
You’ve got questions. That’s understandable!
Once again, there has been a shortage of Jetpack Compose questions on Stack
Overflow in the
android-jetpack-compose tag. So,
let’s look at more from Slack!
Fragments and Compose
A question came up about the relevance of fragments and the Navigation component for Compose development. This is a common concern, one that appears in Slack every few weeks.
Flow and Experimental Compilers
Another popular concern is mixing coroutines with Compose. That is limited at
the moment, but improvements should be arriving with
Posts, videos, and other new information related to Jetpack Compose!
dev09 Release Notes
The major breaking change here is that the
delegates require imports now. Also,
ColoredRect is deprecated, and watch out
for changes to
dev09 Release Notes
There are dozens of changes in this release, so read the release notes! Of
subscribeAsState() for RxJava and
Exploring Jetpack Compose: Snackbar
Joe Birch has a pair of posts this week, the first looking at the Compose
implementation of the
Snackbar pattern from Material Design.
Exploring Jetpack Compose: Radio Button
Joe Birch’s other post looks at the
RadioButton implementation in Compose, as a
foundational UI piece.
Animations in Jetpack Compose using Transition
This article looks at using
Transition for animated effects in Compose. This is
the latest in Nikit Bhandari’s series of Compose articles, covering topics
ranging from tabs and drawers to clicks and scrolling.
100% pure code!
GitHub - amolgupta/GameOfLife
In honor of the passing of John Conway, we have a Compose implementation of his legendary Game of Life!
…And One More Thing
The scope of changes in dev09’s edition of the Compose UI libraries is
extensive. And the release notes do not cover everything, such as the new
dev10 promises to be a big release as well, as we may get a new compiler plugin
to try out. Yet, it appears that this is still an interim release of the plugin,
with not everything working quite yet (e.g., working with Flow from coroutines).
All of this suggests that we are quite a ways away from an alpha of either Compose or the Compose UI:
I would not expect an alpha of Compose until the compiler plugin is reasonably feature-complete and out for a while, so we can find lingering problems
It is possible that Compose reaches alpha before Compose UI (though the reverse seems less likely), as there is no strict requirement that the two reach alpha simultaneously
On the plus side, this indicates that Google is taking its time and trying to get the first edition of Compose to be as good as possible. On the other hand, there is a minor risk of losing early adopter enthusiasm, as developers tire from the rework required to keep up with all the dev-release changes. On the whole, the pace seems like a positive thing, though. As they say, patience is a virtue.
Or, you can subscribe to the Atom feed or follow Mark Murphy in the Fediverse.
- 2023-05-30: Compose beta! Tracking continuous composable presses! Animated carousels! MVI! 2D scrolling layouts! Tables! And... a stable function?!?
- 2023-05-23: Focus and preview cards for Compose for TV! Interactions and visual states! ViewCompositionStrategy! Compose for iOS, for real! @firstname.lastname@example.org is zooming! Data tables! And... BasicTextField2, the sequel?!?
- 2023-05-16: Google I/O! New Compose BOM and alpha! Viewmodels! BottomScaffold()! SealedX! Lottie! Dynamic themes! Floating action menus!