Behind the scenes of building a gesture driven Reddit app
summary
Shows how an Android Reddit client (Dank) uses Material Design and Android framework APIs to implement gesture-driven UI features. Covers concrete implementations: recreating Google Inbox–style expandable descendant navigation, using nested scrolling APIs for a comment sheet, collapsible comments in RecyclerView via elevation APIs, a flick-to-dismiss image gesture, and a real-time Markdown-rendering text editor. The app is open-source on GitHub (github.com/saket/dank).
AI-written summary · about
chapters (32)
- 0:00Start
- 9:42InboxRecyclerView
- 10:42setup
- 11:30prepare to expand
- 12:17expanding content
- 13:22animating list items
- 14:52pull to collapse
- 17:53submission screen
- 18:36attempt 1: padding
- 20:08attempt 2: nested scrolling
- 24:41the internet's frontpage
- 24:59tree of comments
- 25:46collapse animation
- 27:27correct z-hierarchy
- 29:08not invented here yet
- 31:31how it works
- 31:50listen to text changes
- 32:03parse markdown
- 32:30apply spans
- 34:05span pool
- 34:27challenges
- 35:07background parsing of markdown
- 36:15custom spans
- 37:38flick
- 38:16handling gesture
- 38:54rotating media
- 40:06jagged edges!
- 40:48smooth(er) edges
- 42:48jarring resize
- 43:51what exactly gets resized?
- 44:47smoothly resizing
- 46:51CHICAGO
related talks
20mAdvanced Android Touches
40mCase Study- How Android Platform @ Reddit learned to stop worrying and embrace DevX
34mGestures here. Gestures there. Gestures everywhere!
38mIn a World of Pure Android Animation 🍭🍫
30mMicrointeractions & Animations in React Native: Help users understand the UI
48mGoing Reactive, An Android Architectural Journey
16mThe Android Experience seen from an iOS dev's perspective
36mSmoke & Mirrors the Magic behind Wonderful UI in Android
