jetc.dev Newsletter Issue #11
Images! RadioGroups! And… the desktop?!? —
One Off the Stack, One Off the Slack
You’ve got questions. That’s understandable!
A common question with Compose is how to handle images from network sources. One answer on this question shows a
loadPicture() function that uses Glide and lets you know when the image is done loading.
Posts, videos, and other new information related to Jetpack Compose!
100% pure code!
…And One More Thing
The Compose team has made no secret of the fact that Compose itself is fairly independent of Android. This week’s discovery of a nascent Compose-on-the-desktop project just underscores the point.
It will be interesting to see who comes up with other uses for Compose. That could be supporting other platforms (Web? Fuchsia? something new?). That could be supporting composition for things beyond the UI.
The biggest risk is change. We have no formal documentation or specification around Compose, nor do we have any formal API for what Compose expects from a platform. Clearly, these are early days, and so some of that might come with time. But it would be easier for a Google engineer to play with Compose for another platform than it would be for you or I to do the same. If Google wants this sort of experimentation by third parties, hopefully they will formalize how this works, so third parties know what is stable/supported and what is not.
- 2023-11-21: Compose/Material3/Wear Compose updates! remember()! Adaptive layouts! Compose Multiplatform in 2024! @email@example.com on BasicTextField2()! Compose Multiplatform charts! And... is TV Compose in trouble?!?
- 2023-11-14: Compose Compiler! BasicTextField2()! @firstname.lastname@example.org and animations! Optimization! @email@example.com, JetBrains, and Fleet! JetBrains and plotting! And... we collapse?!?
- 2023-11-07: Compose Multiplatform! Chips in fields! Diffing! Custom fonts in Glance app widgets! Heatmaps! PIN input! And @firstname.lastname@example.org is in a bit of a haze?!?