rahulrav
11/04/2026, 2:29 AMcurioustechizen
11/04/2026, 1:08 PMcurioustechizen
11/04/2026, 1:09 PMcurioustechizen
11/04/2026, 1:10 PMcurioustechizen
11/04/2026, 1:12 PMrahulrav
11/04/2026, 6:46 PMbento for ADS - and I want to build a similar workflow with storyboardbnorm
11/05/2026, 12:55 PMscene DSL functions. Helps adjust default transition animations between scenes.
3. Try to drive your scenes with state classes as soon as possible. Local classes help with this pattern a lot. I made a little DSL to use the data class copy function for deltas between frames.
4. createChildTransition everywhere. Anything based on the scene frame should be wrapped with a Transition. Syncs up animations and makes them skippable as well.
5. AnnotatedString for all text variables. You'll eventually want to style it in some non-default way. Just make that function parameter an AnnotatedString from the beginning.
6. Dealing with code samples is still tough. I've got a DSL-like thing which helps me use a base code sample and manipulate it into various states. It's helpful, but I still don't really like it all that much. Find/build something that works for you and improve it over time.
7. Always colocate your code samples somehow. I've found it's easier to review them for errors or make changes to them when they are at least all in the same directory.
[.,.] found myself getting carried away doing too much Compose [...]Yep, this, big time. Basically the story of how storyboard was created. 😆 But each time I create a new presentation I care a little bit less each time how good the Compose code is and focus more on the presentation itself. So while the onboarding is brutal, it does get easier as you build out your personal library of templates and widgets. As for general template tips, I often try and match the theming of the conference somehow. For DroidCon NYC, it was the orange and blue panes, and I had a ton of fun doing half-screen carousel-like transitions. And one final tip: always do something you could only do with Compose. It's tons of fun and reinvigorates me when I can work on a small bit of polish to the presentation that reminds me why I like doing it with Compose. For KotlinConf 2026, it was the subtle gradient to a couple elements that automatically transitioned to match the background gradient based on their position. I really doubt anyone noticed, but it was super rewarding to me when I got that working. And good luck doing that with Keynote!