Speaker

Zach Klippenstein

Zach Klippenstein

Composer at Google

San Francisco, California, United States

Actions

Zach built Android apps, platforms, and knowledge at Square for over six years before joining Google to work on Compose. Come say hi on Kotlin slack!

Area of Expertise

  • Information & Communications Technology

Topics

  • Kotlin
  • Android Software Development
  • Software Development
  • Jetpack Compose

Deriving derived state: derivedStateOf explained

Jetpack Compose’s state library has a powerful but tricky tool in derivedStateOf. Much of the time you don’t need it at all. It’s deceptively expensive to use and complex to implement. To find out why we’ll derive it from first principles. Starting with the simplest solution for a typical use case, we’ll walk through how different parts of the snapshot state system can be leveraged to improve the solution, eventually ending up at derivedStateOf.

Elements of Modifiers in Compose

Modifiers are a foundational aspect of Jetpack Compose. When coding with everyone’s favourite declarative UI framework, you’ll constantly reach out into the rich grab bag of Modifiers that Compose provides. You don’t really need to understand how Modifiers’ internals work to be productive!

But sometimes, you’ll need something that’s not provided out of the box, and you may find yourself wondering what is the best approach to take to create your custom Modifier. This talk will guide you through the inner workings of a Modifier, the kinds of custom Modifiers you can create and when to use them, and provide a case study about implementing a Modifier and integrating it with the rest of the framework.

droidcon NYC 2022 Sessionize Event

September 2022 New York City, New York, United States

droidcon San Francisco 2022 Sessionize Event

June 2022 San Francisco, California, United States

droidcon NYC 2019 Sessionize Event

August 2019 New York City, New York, United States

Zach Klippenstein

Composer at Google

San Francisco, California, United States

Actions

Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.

Jump to top