ListView - RecyclerView
summary
Facebook reworks News Feed from Android ListView to the Support Library RecyclerView, building a migration library (GitHub: FBampleview to recyclerview) and running an A/B test to compare both in production. Key changes are splitting view creation/binding, switching to granular notifies, and using SortedList and DiffUtil to emit precise change events. Result: a measurable large scroll‑performance win and richer item animations, plus workarounds for texture‑view video detach issues and a custom recycler to avoid flicker.
AI-written summary · about
chapters (7)
- 0:00Introduction to feed platform
- 1:18Why upgrade to RecyclerView
- 3:03Key differences from ListView
- 7:57Handling data set changes
- 10:05ListView limitations
- 14:38Migrating to RecyclerView
- 19:55Conclusion and benefits
related talks
33mListView - Recycle Your Knowledge
42mRecyclerView 13000
42mAdvanced Scrolling Techniques on Android (en)
33mAndroid Jetpack: Manage infinite lists with RecyclerView and Paging
27mWhy WhatsApp Uses ListView
37mRecyclerViews – A Developer’s deep dive
25mRecyclerview to the rescue
34mMigrating to Paging Library
