Tag

RecyclerView

1 views collected around this technical thread.

DaTaobao Tech
DaTaobao Tech
May 26, 2025 · Mobile Development

Optimizing Taobao Live Streaming Components: Scheduling, Reuse, and Governance

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
Optimizing Taobao Live Streaming Components: Scheduling, Reuse, and Governance
Sohu Tech Products
Sohu Tech Products
Sep 5, 2024 · Mobile Development

Implementing a Simple Danmu (Bullet Screen) Effect Using RecyclerView and StaggeredGridLayoutManager in Android

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.

AndroidBulletScreenKotlin
0 likes · 10 min read
Implementing a Simple Danmu (Bullet Screen) Effect Using RecyclerView and StaggeredGridLayoutManager in Android
Sohu Tech Products
Sohu Tech Products
May 15, 2024 · Mobile Development

Implementing Grid Drag-and-Drop in Android RecyclerView Using ItemTouchHelper

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
Implementing Grid Drag-and-Drop in Android RecyclerView Using ItemTouchHelper
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 19, 2023 · Mobile Development

Implementing a Two-Level Comment Feature in Android Using Nested RecyclerViews

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
Implementing a Two-Level Comment Feature in Android Using Nested RecyclerViews
Sohu Tech Products
Sohu Tech Products
Aug 9, 2023 · Mobile Development

Understanding ViewPager2 OffscreenPageLimit and Its Performance Impact

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
Understanding ViewPager2 OffscreenPageLimit and Its Performance Impact
Sohu Tech Products
Sohu Tech Products
Apr 12, 2023 · Mobile Development

HorStickyNavLayout: A Sticky Navigation Layout for RecyclerView with Interactive Prompt

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
HorStickyNavLayout: A Sticky Navigation Layout for RecyclerView with Interactive Prompt
Sohu Tech Products
Sohu Tech Products
Dec 7, 2022 · Mobile Development

Type‑agnostic RecyclerView Item Visibility Detection for Android

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
Type‑agnostic RecyclerView Item Visibility Detection for Android
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Sep 13, 2022 · Mobile Development

React Native Dynamic List Integration in Android RecyclerView

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
React Native Dynamic List Integration in Android RecyclerView
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jul 7, 2022 · Mobile Development

Embedding Jetpack Compose in RecyclerView with ComposeView and Dispose Strategies

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.

AndroidComposeComposeView
0 likes · 11 min read
Embedding Jetpack Compose in RecyclerView with ComposeView and Dispose Strategies
Sohu Tech Products
Sohu Tech Products
Apr 13, 2022 · Mobile Development

Decoupling Complex RecyclerView Adapters in Android Using Sealed Classes and Kotlin Reflection

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.

AndroidKotlinRecyclerView
0 likes · 10 min read
Decoupling Complex RecyclerView Adapters in Android Using Sealed Classes and Kotlin Reflection
LOFTER Tech Team
LOFTER Tech Team
Mar 15, 2022 · Mobile Development

Applying Domain‑Driven Design to Large List Architecture in Android

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
Applying Domain‑Driven Design to Large List Architecture in Android
DaTaobao Tech
DaTaobao Tech
Feb 15, 2022 · Mobile Development

Optimizing Fast and Precise Scrolling in Android RecyclerView

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.

AndroidPerformanceRecyclerView
0 likes · 14 min read
Optimizing Fast and Precise Scrolling in Android RecyclerView
58 Tech
58 Tech
Jan 6, 2022 · Mobile Development

Design and Implementation of a Unified Rich Media Animation Control for Android Apps

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
Design and Implementation of a Unified Rich Media Animation Control for Android Apps
Baidu Geek Talk
Baidu Geek Talk
Sep 22, 2021 · Mobile Development

Video Player Architecture Refactoring and Performance Optimization in an Android Short‑Video App

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.

AndroidPerformanceOptimizationPreloading
0 likes · 20 min read
Video Player Architecture Refactoring and Performance Optimization in an Android Short‑Video App
Snowball Engineer Team
Snowball Engineer Team
Sep 8, 2021 · Mobile Development

A Robust Approach to Android UI Component Exposure Tracking Using Custom View Lifecycle Management

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
A Robust Approach to Android UI Component Exposure Tracking Using Custom View Lifecycle Management
Snowball Engineer Team
Snowball Engineer Team
Jun 17, 2021 · Mobile Development

Implementing Linked Scrolling Between RecyclerView and Bottom Sheet in Android

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
Implementing Linked Scrolling Between RecyclerView and Bottom Sheet in Android
Sohu Tech Products
Sohu Tech Products
Jul 15, 2020 · Mobile Development

Android RecyclerView Item Exposure Tracking Implementation

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.

AndroidExposureTrackingFragmentLifecycle
0 likes · 20 min read
Android RecyclerView Item Exposure Tracking Implementation
JD Retail Technology
JD Retail Technology
May 18, 2020 · Mobile Development

Resolving List Reordering and Top Blank Space Issues in Android StaggeredGridLayoutManager

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.

AndroidRecyclerViewStaggeredGridLayoutManager
0 likes · 11 min read
Resolving List Reordering and Top Blank Space Issues in Android StaggeredGridLayoutManager
Sohu Tech Products
Sohu Tech Products
May 6, 2020 · Mobile Development

Understanding Android NestedScrolling Mechanism – Fundamentals, Core Flow, and Implementation

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.

AndroidCustom ViewNestedScrolling
0 likes · 19 min read
Understanding Android NestedScrolling Mechanism – Fundamentals, Core Flow, and Implementation
Sohu Tech Products
Sohu Tech Products
Jan 22, 2020 · Mobile Development

Implementing Lifecycle‑Aware ViewHolder with MVVM in Android RecyclerView

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.

AndroidJavaKotlin
0 likes · 13 min read
Implementing Lifecycle‑Aware ViewHolder with MVVM in Android RecyclerView