~/talk

Exploring Jetpack Compose Canvas

Talkat Google I/O Extended Montreal 2021 · on Saturday, 2021-06-12· [android]
slides:none on file

Walks through Jetpack Compose Canvas using the DrawScope API to call drawCircle/drawArc/drawPath and shows native interop via drawIntoCanvas nativeCanvas to run missing APIs like text rendering. Demonstrates animated transforms (translate/scale/rotate) driven by rememberInfiniteTransition/animateFloat, a working timer wave rendered with native text, and a custom movie-ticket Shape drawn with path arcs. Notes shapes are immutable so animations must recreate paths (temporary-state workaround) — examples compile and the animations run on device.

AI-written summary · about

  1. 0:00Introduction to Jetpack Compose Canvas
  2. 10:18Native Canvas API Overview
  3. 15:41First steps with Jetpack Compose Canvas
  4. 19:11Interoperability with native canvas
  5. 19:31Animating shapes on Canvas
  6. 25:55Practical animation demo
  7. 26:17Custom shapes for composables
  8. 34:34Building a movie ticket shape
  9. 37:26Animated ticket demo
  10. 40:22Polygon shape animation
  11. 43:18Summary and resources
  12. 44:01Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.