Tagged articles
38 articles
Page 1 of 1
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
Apr 16, 2025 · Mobile Development

Unlocking ViewPager2: Deep Dive into Scrolling Mechanics and Custom Transformations

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.

AndroidCustomAnimationMobile Development
0 likes · 15 min read
Unlocking ViewPager2: Deep Dive into Scrolling Mechanics and Custom Transformations
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.

AndroidBulletScreenDanmu
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
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 ViewMobile Development
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
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.

AndroidMobile DevelopmentRecyclerView
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
Alibaba Terminal Technology
Alibaba Terminal Technology
Nov 19, 2021 · Mobile Development

How to Achieve Instant Short‑Video Playback on Android: Multi‑Player & Pre‑Download Strategies

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
How to Achieve Instant Short‑Video Playback on Android: Multi‑Player & Pre‑Download Strategies
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.

AndroidPerformanceOptimizationRecyclerView
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
The Dominant Programmer
The Dominant Programmer
Dec 9, 2020 · Mobile Development

How to Use an Adapter to Populate a RecyclerView in Android

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.

AdapterAndroidMobile Development
0 likes · 12 min read
How to Use an Adapter to Populate a RecyclerView 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.

ExposureTrackingFragmentLifecycleKotlin
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.

Custom ViewMobile DevelopmentNestedScrolling
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.

JavaKotlinLifecycle
0 likes · 13 min read
Implementing Lifecycle‑Aware ViewHolder with MVVM in Android RecyclerView
Meituan Technology Team
Meituan Technology Team
Mar 14, 2019 · Mobile Development

Litho: Declarative Android UI Framework – Principles, Usage, and Performance

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
Litho: Declarative Android UI Framework – Principles, Usage, and Performance
Qunar Tech Salon
Qunar Tech Salon
Dec 4, 2018 · Mobile Development

Zero‑Adapter Multi‑Item RecyclerView Library for Android

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
Zero‑Adapter Multi‑Item RecyclerView Library for Android
Beike Product & Technology
Beike Product & Technology
Aug 24, 2018 · Mobile Development

How to Accurately Track Card Exposure in Android RecyclerView

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
How to Accurately Track Card Exposure in Android RecyclerView
JD Retail Technology
JD Retail Technology
Jul 18, 2018 · Mobile Development

Understanding Android Paging Library: Architecture, Components, and Usage

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 ComponentsDataSource
0 likes · 9 min read
Understanding Android Paging Library: Architecture, Components, and Usage
JD Tech
JD Tech
Jul 17, 2018 · Mobile Development

Understanding Android Paging Library: Architecture, Components, and Usage

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.

AndroidDataSourceMobile Development
0 likes · 9 min read
Understanding Android Paging Library: Architecture, Components, and Usage
Tencent Music Tech Team
Tencent Music Tech Team
Jun 29, 2018 · Mobile Development

Investigation of IllegalArgumentException in Android RecyclerView after QQ Music K歌 4.6 Release

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
Investigation of IllegalArgumentException in Android RecyclerView after QQ Music K歌 4.6 Release
Taobao Frontend Technology
Taobao Frontend Technology
Mar 15, 2018 · Frontend Development

Mastering Long List Performance in Rax: Scroll, Recycle, and Advanced Techniques

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
Mastering Long List Performance in Rax: Scroll, Recycle, and Advanced Techniques
Tencent TDS Service
Tencent TDS Service
Jan 5, 2017 · Mobile Development

Mastering RecyclerView: From Basics to Advanced Features

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
Mastering RecyclerView: From Basics to Advanced Features