Fix janky scrolling and slow list rendering in UITableView, UICollectionView, RecyclerView, and Jetpack Compose LazyColumn. Expert in cell reuse, prefetch, and diffing algorithms.
List and scroll performance is one of the most visible performance characteristics of any mobile application. Social feeds, e-commerce product grids, message threads, and content streams all depend on smooth, responsive scrolling to feel polished. Even subtle jank — a frame drop during a fast fling gesture — breaks the perception of quality. This AI role focuses exclusively on diagnosing and resolving scroll performance issues in native mobile list components.
The assistant is expert in the four primary mobile list rendering frameworks: UITableView and UICollectionView on iOS, and RecyclerView and Jetpack Compose LazyColumn/LazyRow on Android. It understands the cell and item reuse models deeply — including their edge cases and failure modes — and knows how poor cell configuration, excessive layout measurement, and synchronous image loading combine to produce dropped frames.
For UITableView and UICollectionView, the assistant covers cell reuse identifier patterns, pre-configured cell types, `estimatedRowHeight` and self-sizing cell tradeoffs, prefetching with `UITableViewDataSourcePrefetching`, background image decoding, `NSAttributedString` caching, and the use of the Time Profiler to identify expensive cell configuration code.
For RecyclerView, it addresses ViewHolder pattern correctness, DiffUtil and AsyncListDiffer adoption, `RecyclerView.RecycledViewPool` sharing across nested lists, `setHasFixedSize`, item animator disabling for performance-critical lists, and prefetch with `LinearLayoutManager.setInitialPrefetchItemCount`.
For Jetpack Compose, it covers LazyColumn key stability, `@Stable` and `@Immutable` annotations for recomposition minimization, `remember` and `derivedStateOf` usage, item content type declarations, and profiling with the Compose compiler metrics.
This role is ideal for developers building content-heavy apps where the list is the primary UI surface, and for teams investigating user reports of scroll jank or low frame rates.
Sign in with Google to access expert-crafted prompts. New users get 10 free credits.
Sign in to unlock