Advanced Scrolling Techniques on Android (en)
summary
Shows exact APIs and gotchas: ListView and RecyclerView often report zero scroll offset, ScrollView and WebView expose pixel offsets, and nested scrolling needs the Lollipop API or support-library fallbacks. Demonstrates using VelocityTracker and OverScroller for flings, EdgeEffect (API 14) for glow, and compute*VerticalScrollRange/Offset/Extent for scrollbars. Builds a RecyclerView + collapsing toolbar demo that works with nested scrolling; explains bezel and view‑pager handoff patterns, and why RecyclerView+support lib is the practical recommendation.
AI-written summary · about
chapters (19)
- 0:00Intro
- 4:33What is scrolling
- 11:45Listen for scrolling events
- 13:30ChangeListener
- 15:00Quiz Time
- 15:58Webview
- 18:22DrawLayout
- 20:40Scrolling Container
- 21:34DelayChild
- 22:30Initialization
- 23:58Movement Tracking
- 25:42In inertial scrolling
- 27:48Overscroller
- 29:50Scroll Bars
- 31:53Edge Effects
- 33:35Edge Effects Methods
- 35:58Bezel scrolling
- 37:28Banderas crawling
- 39:15Nested scrolling








