Tagged articles
RecyclerView
38 articles · Page 1 of 1
This article details three major optimization directions—component scheduling, component reuse, and component governance—applied to Taobao live streaming, explaining the technical redesign, task scheduler implementation, RecyclerView view‑holder reuse, performance gains, and future improvement plans.
AndroidComponent OptimizationRecyclerView
0 likes · 11 min read

This article dissects ViewPager2's internal scrolling architecture, explains its core classes, orientation handling, PageTransformer workflow, scroll event processing, animation techniques, performance tweaks, and demonstrates how to recreate a complex advertising carousel with custom transformations and layout optimizations.
AndroidCustomAnimationPageTransformer
0 likes · 15 min read

The article demonstrates how to create a lightweight, infinite‑scrolling danmu (bullet‑screen) effect in Android by embedding a RecyclerView inside a custom DanMuView, using StaggeredGridLayoutManager for multi‑row layout and a scrollBy‑based Runnable to continuously scroll and control speed.
AndroidBulletScreenDanmu
0 likes · 10 min read

The article explains how to implement a performant, draggable grid in Android by using RecyclerView with ItemTouchHelper, detailing event interception, view translation via matrix or translation properties, efficient data swapping, custom item decorations for spacing, and handling drawing order for older Android versions.
AndroidDragAndDropGridLayout
0 likes · 16 min read

This article explains how to build a two-level comment system for an Android app by designing a comment database schema, creating DAO and repository layers, and using nested RecyclerViews with adapters to display primary comments and their replies, including code snippets and layout illustrations.
AndroidKotlinRecyclerView
0 likes · 6 min read

This article explains the OffscreenPageLimit attribute of ViewPager2, how it controls off‑screen page loading, compares its default values with ViewPager, shows code implementations, analyzes performance trade‑offs, and provides practical recommendations for choosing an appropriate limit.
AndroidFragmentOffscreenPageLimit
0 likes · 16 min read

This article introduces HorStickyNavLayout, a custom Android ViewGroup that enhances RecyclerView horizontal scrolling with a sticky footer prompting users to discover more content, detailing its architecture, nested scrolling handling, fling behavior, and animation logic to improve interaction without extra item views.
AndroidCustom ViewRecyclerView
0 likes · 7 min read

The article explains why reporting item exposure in onBindViewHolder is inaccurate, reviews existing scroll‑listener based solutions and their limitations, and then presents a layout‑manager‑independent Kotlin extension that reliably detects RecyclerView item visibility based on visible area percentage, also covering ViewPager2 page visibility handling.
AndroidExtensionFunctionsKotlin
0 likes · 10 min read

The paper presents a React Native‑based dynamic list solution that embeds an RN container inside Android RecyclerView ViewHolders, using data‑driven rendering and pre‑loaded offline bundles to achieve middle‑to‑upper performance, modest memory use, and sub‑0.01% error rates while preserving native first‑screen speed.
AndroidDynamicListMobileDevelopment
0 likes · 14 min read

This article explains how to embed Jetpack Compose within an existing RecyclerView using ComposeView, examines the default DisposeOnDetachedFromWindow strategy, its impact on view recycling, and presents alternative composition strategies such as DisposeOnViewTreeLifecycleDestroyed and the newer pooling-aware strategy to improve performance.
AndroidComposeViewDisposeStrategy
0 likes · 11 min read

This article demonstrates how to simplify and decouple a complex Android RecyclerView adapter by extracting view‑holder logic into a sealed BaseVH class, automatically registering subclasses via Kotlin reflection, and optionally replacing the whole approach with Jetpack Compose.
AdapterAndroidKotlin
0 likes · 10 min read

This article describes how the Lofter team applied Domain‑Driven Design to refactor and govern complex, multi‑type RecyclerView lists on Android, progressing from a monolithic adapter through a split‑stage implementation to a full DDD‑based framework with reusable bars and context‑aware layout managers.
AndroidDDDLarge List
0 likes · 22 min read

By preloading off-screen items, applying a short non-animated jump for large distances, and then using a customized smooth-scroll with precise offset correction, the Android RecyclerView achieves fast, accurate scrolling without white-screen flashes or abrupt stops, greatly improving navigation of long, dynamically-sized lists.
AndroidRecyclerViewmobile development
0 likes · 14 min read


58 TechJan 6, 2022 · Mobile Development
This document presents the background, objectives, research findings, design principles, API specifications, caching strategy, implementation details, XML usage, memory impact analysis, and conclusions of a unified rich‑media animation component that consolidates image, GIF, Lottie, pager and video handling for efficient reuse in Android RecyclerView lists.
AndroidCacheDesign
0 likes · 11 min read

This article explains how to optimize Android short‑video playback for instant start by analyzing problems such as cover‑screen flash and slow streaming, then presents a three‑player RecyclerView solution, pre‑download techniques, cache integration, and future improvements to deliver a seamless, TikTok‑like experience.
AndroidRecyclerViewmulti-player
0 likes · 11 min read

This tutorial walks through creating a fully custom RecyclerView LayoutManager and SnapHelper in Kotlin, covering layout measurement, item scaling, inertia scrolling, and automatic centering of the nearest item, complete with code snippets and visual examples for a smooth, dynamic UI list.
AndroidCustom UIKotlin
0 likes · 16 min read

The article details how refactoring the Haokan Android short‑video client from a single global player to per‑holder multi‑player instances, combined with lifecycle‑lite event handling, pre‑loading, and dedicated thread operations, cut start‑up latency by ~150 ms, reduced frame‑drops dramatically, and boosted overall user experience and business metrics.
AndroidPerformanceOptimizationRecyclerView
0 likes · 20 min read

This article analyzes the limitations of traditional Android exposure tracking methods that rely on parent container lifecycles and introduces a reusable, low-intrusion solution using a custom layout that leverages core View lifecycle callbacks and drawing listeners to accurately detect component visibility and duration.
Android developmentCustom ViewExposure Analytics
0 likes · 15 min read

This article describes how the Snowball Android team solved the slow‑frame issue on the fund detail page by implementing a split‑screen loading layout using RecyclerView, CoordinatorLayout, and ViewPager, focusing on achieving a linked scrolling effect for the bottom discussion overlay through custom BottomSheetBehavior extensions and nested scrolling mechanisms.
AndroidBottomSheetBehaviorCoordinatorLayout
0 likes · 13 min read

This article walks through the complete process of adding a RecyclerView to an Android project, including the required support library dependency, creating the layout and item XML files, implementing a custom Adapter with ViewHolder, overriding the essential methods, and updating the view with a dynamic data source such as recorded audio file paths.
AdapterAndroidRecyclerView
0 likes · 12 min read

This article presents a comprehensive solution for tracking and reporting exposure of RecyclerView items in Android, covering data collection during scrolling, visibility changes across fragment and activity lifecycles, handling data updates, and providing customizable callbacks and exposure criteria, all without requiring developers to manage the collection process manually.
ExposureTrackingFragmentLifecycleKotlin
0 likes · 20 min read

This article analyzes why StaggeredGridLayoutManager can cause item reordering and blank gaps at the top of a RecyclerView, explains the underlying measurement and layout mechanisms, and presents code‑level solutions such as disabling gap handling, invalidating span assignments, and using notifyItemRangeChanged instead of notifyDataSetChanged.
AndroidLayoutRecyclerView
0 likes · 11 min read

This article explains the Android NestedScrolling mechanism, compares it with the traditional view event dispatch system, details the core scrolling flow, presents the key NestedScrollingParent and NestedScrollingChild interfaces with code examples, and walks through a practical demo and source‑level analysis.
Custom ViewNestedScrollingRecyclerView
0 likes · 19 min read

This article proposes a solution to avoid data inconsistency caused by RecyclerView ViewHolder reuse by giving each ViewHolder its own lifecycle, integrating MVVM via a BaseLifecycleViewHolder, BaseLifeCycleAdapter, and VHLiveData, and demonstrates implementation details with Kotlin and Java code examples.
JavaKotlinLifecycle
0 likes · 13 min read

This article walks through Android TV’s Leanback library—its purpose, how to add the dependency, and core components such as BaseGridView, Presenter, and ObjectAdapter—using the QQ Music TV app as a case study, while weighing its design advantages against maturity and update‑frequency drawbacks.
Android TVLeanbackMVP
0 likes · 10 min read

Litho, Facebook’s declarative Android UI framework, lets developers define components with immutable props and asynchronous layout, flattening view hierarchies and enabling fine‑grained reuse to boost scroll performance and cut memory usage, though it requires custom component code and lacks a real‑time preview.
AndroidDeclarative UILitho
0 likes · 15 min read

This article explains how to use the MultiItem library to create a multi‑type RecyclerView adapter that supports cross‑RecyclerView item dragging, scaling, and custom control interfaces, providing code examples and a step‑by‑step walkthrough for Android developers.
AndroidDragAndDropItemTouchHelper
0 likes · 7 min read

This article demonstrates how to implement a multi-type RecyclerView adapter on Android that supports cross‑RecyclerView item dragging, scaling, and custom drag controls, providing code examples, interface definitions, and a step‑by‑step explanation of the underlying processes.
AndroidDragAndDropItemTouchHelper
0 likes · 9 min read

This article introduces an open‑source Android library that eliminates the need for custom RecyclerView adapters by using a ViewHolderManager system to handle multiple item types, headers, footers, click listeners, load‑more pagination, and animations, with complete code examples and usage guidelines.
AdapterAndroidMulti‑Item
0 likes · 12 min read

This article explains the shortcomings of hard‑coded exposure tracking in the Beike Zhaofang Android app, benchmarks industry practices, proposes a flexible API‑driven strategy, and provides a complete RecyclerView scroll‑listener implementation with a double‑ended queue to record precise card visibility durations.
APIAndroidExposure Tracking
0 likes · 7 min read

This article explains the Android Paging Library introduced in Google I/O 2018, covering its background, architecture, core components such as DataSource and PagedList, loading flow, and step‑by‑step usage with Gradle, LiveData, and RecyclerView adapters for efficient pagination in mobile apps.
AndroidArchitecture ComponentsLiveData
0 likes · 9 min read


JD TechJul 17, 2018 · Mobile Development
This article introduces Android Jetpack's Paging Library, explains its architecture—including DataSource, PagedList, and adapters—details the data loading flow, and provides step‑by‑step guidance on integrating the library into a mobile app using Gradle, LiveData, and RecyclerView.
AndroidPagedListPaging Library
0 likes · 9 min read

The QQ Music K歌 4.6 crash occurs when a hidden RecyclerView, created by fragment recreation after the app is killed, retains a stale cached Footer ViewHolder that mismatches the adapter’s type after an unnotified data change, triggering an IllegalArgumentException during the RecyclerView’s layout step 2.
AndroidCrashDebuggingIllegalArgumentException
0 likes · 15 min read

This article provides a comprehensive guide to Rax 0.5's long‑list components, explaining when to use each list tag, how to enable scrolling, optimize performance with RecyclerView, handle refresh, appear, and onScroll events, and organize complex page layouts with sticky headers, nested scrolling, and gesture management.
Long ListRAXRecyclerView
0 likes · 14 min read

This article explains the Android Paging Library’s architecture—including DataSource variants, PagedList configuration, and PagedListAdapter integration—showing how to efficiently load large data sets from single or multiple sources while handling threading, prefetching, and UI updates.
AndroidPaginationPaging Library
0 likes · 7 min read

This article provides a comprehensive guide to Android's RecyclerView, covering its core concepts, differences from ListView, standard implementation steps, custom adapters, item decorations, layout managers, animators, header/footer integration, empty views, drag-and-swipe handling, nested scrolling, and performance optimizations, with code examples and diagrams.
AdapterAndroidItemDecoration
0 likes · 23 min read

This article compares Android's RecyclerView and ListView caching mechanisms, explains their multi‑level caches, shows how RecyclerView enables efficient partial refreshes, and concludes when each widget is appropriate based on performance and animation needs.
AndroidCachingListView
0 likes · 7 min read

This article examines the caching mechanisms of Android's RecyclerView and ListView, comparing their hierarchical caches, view holder strategies, and partial refresh capabilities, and concludes when each component is preferable based on performance, animation support, and data update frequency.
AndroidCachingListView
0 likes · 8 min read
