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.
If you encounter problems in subscribing, let us know!
- 2021-01-19: alpha10 changes! Floating action menus! Charts! The Surface Duo! Input methods built with Compose! ...and ellipsizing text!
- 2021-01-12: layout()! Navigation with Parcelables! Custom drawers! Compose for Desktop! And Compose... for iOS?!?
- 2021-01-05: Navigation arguments! ViewModel? Shapes! GraphQL and Compose! More shimmers! In-browser Compose! And the power of names!