top of page
droidcon+icon.png

20 NOVEMBER 2026

BANGALORE

DroidCon_icon_rotatet.png
Anita_Singh_edited.jpg

( SPEAKER )

Srikrishna Sakunia

Developer Relation Engineer

Google

Developer Relation Engineer at Google

Session

Rich Text & Markdown in Compose with BasicTextField2

Building rich text editors in Jetpack Compose used to be a headache. This session explores the new buffer-driven architecture of BasicTextField (BTF2) for a cleaner, modern approach. By leveraging new capabilities like TrackedRange and Expand Policies, we can eliminate historical headaches like range-drift and boundary bugs. We'll provide a complete blueprint for leaving legacy hacks behind and mastering rich text in modern Compose. You will learn to: - Fix sync bugs using TextFieldState to eliminate keyboard (IME) race conditions. - Apply durable, adaptive formatting with TextFieldBuffer.addStyle. - Use native Markdown support to build custom toolbars and apply styles instantly.
bottom of page