Jossi works on Jetpack Compose at Google.
5 Easy steps to build a Compose API
10:20 > 40 min
...you won't believe how easy this is! Let's look at 5 steps you might encounter on your journey of building an API (in Jetpack Compose).
Through the example of Jetpack Compose's AnchoredDraggable API, we will build the most basic version of the component and iterate. What functionality do you need? How do you create a concise, easy-to-understand component? What layering do you want to strive for, and how do you incorporate feedback from developers?
You will take away a solid understanding of what building an API entails, an example API design process as well as Compose-specific design details and how this maps to non-library codebases.