Tag

AsyncLayoutInflater

0 views collected around this technical thread.

HomeTech
HomeTech
Mar 22, 2023 · Mobile Development

Optimizing Complex Android Layout Rendering Performance

This article analyzes Android layout rendering performance issues and presents optimization strategies including AsyncLayoutInflater, X2C framework, and custom view factory approaches to reduce rendering time by 20-35%.

AndroidAsyncLayoutInflaterLayout Optimization
0 likes · 10 min read
Optimizing Complex Android Layout Rendering Performance
Xiaohongshu Tech REDtech
Xiaohongshu Tech REDtech
Sep 16, 2022 · Mobile Development

Optimizing Android AsyncLayoutInflater for Thread Safety and Performance

Xiaohongshu refactored Android’s AsyncLayoutInflater by introducing a configurable thread‑pool, safe object pools, and a singleton ViewCache, eliminating ArrayMap and LayoutInflater lock issues, which together yielded over 20% faster cold‑starts and page loads, demonstrating significant performance and business benefits.

AndroidAsyncLayoutInflaterMobile Development
0 likes · 9 min read
Optimizing Android AsyncLayoutInflater for Thread Safety and Performance
JD Retail Technology
JD Retail Technology
May 22, 2020 · Mobile Development

Optimizing Android Layout Inflation with AsyncLayoutInflater: Analysis and Implementation

This article examines the performance bottlenecks of Android's LayoutInflater, analyzes its source code and loading process, and demonstrates how to use AsyncLayoutInflater to off‑load layout inflation to a background thread, resulting in measurable UI frame‑time improvements.

AndroidAsyncLayoutInflaterLayoutInflater
0 likes · 13 min read
Optimizing Android Layout Inflation with AsyncLayoutInflater: Analysis and Implementation