jetc.dev Newsletter Issue #135
droidcon NYC 2022 happened, and we have the videos to prove it!
After all of those, we look at design systems and shaped text backgrounds. We
Popup() and consider perhaps not using
And we showcase our layouts using, um, well,
One Off the Stack, One Off the Slack
You’ve got questions. That’s understandable!
Some apps take specific action when a user taps a word in a longer piece
of text. One way to handle that in Compose UI is
ClickableText(), as we see
in this week’s highlighted Stack Overflow question.
Sometimes, you have a
suspend fun or a
suspend lambda, and you need the results
of that to wind up as a
State. Whether you write your own solution or use
produceState(), Compose has you covered, as we see in this week’s short
#compose Slack thread.
droidcon NYC 2022
droidcon NYC 2022 videos are up, with a vast array of Compose content, including:
Posts, videos, and other new information related to Jetpack Compose!
Google’s Chris Arriola continues an introductory Compose UI post series, this time
Surface(), common layout composables like
the modifiers that apply to them. There is also a video that corresponds to this post.
Semyon Zadoroznyi explores design systems in Compose UI, both in terms of the existing Material design system and creating a brand-new one that fully replaces Material. Semyon looks at setting up a custom theme, what you lose by abandoning Material, and how to write replacements for those lost composables.
Nikita Afonasov looks at Exyte’s ShapedBackgroundAndroid library,
which offers a
RoundedBackgroundText() composable. This composable applies a
background to your text… and only to your text, not the entire rectangle that
contains your text.
Jassiel Melgoza is another developer who was less than excited by Navigation
for Compose’s approach towards arguments. Jassiel shows us how to create an
enum-based navigation approach that leverages a
navigationRoute() DSL to build
the argument-laden navigation paths.
Elye is back, looking at the
Popup() composable for putting a composition into
a separate window floating over your main UI surface. Elye explores various
configuration options, including the
SecureFlagPolicy that I am very grateful
Halil Özercan wrote a series of tweets about
SubcomposeLayout() and why it may
not be the solution to your problem. Instead, your problem may be how you are thinking
about the composition, and that
Layout() or simpler solutions may be preferable.
Other Interesting Links
- The Unholy Composable
- Medium: Translating Objects along a Path
- Medium: Creating a wiggle animation in jetpack compose
- Medium: Zero To Hero in KMM with Compose and SwiftUi
- Medium: Suggestion Chips in Jetpack Compose
- Medium: Collapsing toolbar with parallax effect and curved motion in Jetpack Compose
- Loading Shimmer in Compose
- Medium: Jetpack Compose navigation in easiest way possible
- Medium: Jetpack Compose Navigation Using Enum Class with Basic Splash Screen
- Medium: LazyList Padding in Jetpack Compose
- Medium: What the Heck Is Jetpack Compose remember Vs remember mutableStateOf?
- Medium: Using Constraint Layout for Compose -Part 1
- Medium: How to Implement Radio Button in Jetpack Compose?
- Medium: Jetpack Compose Dotted Shape
- Android Jetpack Compose Form Tutorial
100% pure code!
Taha Ben Ashur offers us a
Showcase(), designed to
implement the “highlight a UI element with an explanation” pattern. The library
offers animated arrows, optional introductory messages, and more!
Other Interesting Links
- 2022-11-15: Compose 1.3.1 and 1.4.0-alpha02! Android Developer Summit! Android Worldwide! Relay! Permissions! Showcase views! And... a not-quite-complete autocomplete?!?
- 2022-11-08: Tables! Relay! Shaders! Intrinsics! Integration tests! Mocking composables! And... this newsletter is becoming buttoned down?!?
- 2022-11-01: Compose 1.3.0 stable! Android Dev Summit videos! State machines! Relay! And... someone set us up the BOM?!?