Tag

UI Thread

1 views collected around this technical thread.

Sohu Tech Products
Sohu Tech Products
Mar 5, 2025 · Mobile Development

Flutter 3.29 Merges Platform and UI Threads: What It Means for Cross-Platform Development

Flutter 3.29 merges the Android/iOS platform thread with the Flutter UI thread, causing Dart code to run on the app’s main thread, simplifying task‑runner coordination, microtask handling, and synchronous platform interactions—while improving rendering and text input, it may break unadapted plugins unless the feature is disabled via metadata.

Asynchronous CommunicationCross-PlatformFlutter
0 likes · 7 min read
Flutter 3.29 Merges Platform and UI Threads: What It Means for Cross-Platform Development
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
vivo Internet Technology
vivo Internet Technology
May 18, 2022 · Mobile Development

Optimizing Android PopupWindow and Snackbar UI Thread to Prevent Frame Drops

To eliminate frame drops caused by animated PopupWindow and Snackbar conflicts, the article shows how moving costly view inflation and show/dismiss operations to a dedicated HandlerThread—while still invoking show() on the UI thread—creates a separate UI thread that respects Android’s thread‑checking rules and keeps animations smooth.

AndroidPopupWindowSnackbar
0 likes · 20 min read
Optimizing Android PopupWindow and Snackbar UI Thread to Prevent Frame Drops
Sohu Tech Products
Sohu Tech Products
Apr 6, 2022 · Mobile Development

Complete Guide to Updating UI from Background Threads in Android

This article explains why Android forbids UI updates from background threads, analyzes the underlying framework source code to trace the view hierarchy and thread checks, and presents several techniques—both general and view‑specific—to safely modify UI without triggering exceptions.

AndroidBackground ThreadUI Thread
0 likes · 17 min read
Complete Guide to Updating UI from Background Threads in Android
JD Tech
JD Tech
Mar 14, 2018 · Mobile Development

Design and Implementation of a Non‑Intrusive UI Thread Lag Monitoring SDK for Android

The article describes the background, architecture, and implementation details of a non‑intrusive Android SDK that monitors UI‑thread stalls, collects performance data, aggregates it on the server, and automatically generates work orders to help developers pinpoint and resolve lag issues efficiently.

AndroidLag DetectionMobile Development
0 likes · 11 min read
Design and Implementation of a Non‑Intrusive UI Thread Lag Monitoring SDK for Android
Tencent Music Tech Team
Tencent Music Tech Team
Jan 12, 2018 · Mobile Development

Analysis of Toast Display Issues in Android Applications

The article examines common Android Toast problems, detailing exceptions like WindowManager$BadTokenException and sporadic display failures, explains how Toast uses a system TYPE_TOAST window, analyzes the underlying source code, and offers practical solutions to prevent and fix these issues.

AndroidBinder ProxyNotificationManager
0 likes · 11 min read
Analysis of Toast Display Issues in Android Applications
JD Retail Technology
JD Retail Technology
Dec 5, 2017 · Mobile Development

Implementation of a Main Thread Lag Collection SDK for Android

This article describes the design and implementation of a non‑intrusive Android SDK that monitors main‑thread UI lag by replacing the Looper printer, sampling stack traces, aggregating data on the server, and automatically generating work orders for precise performance optimization.

AndroidLag DetectionSDK
0 likes · 10 min read
Implementation of a Main Thread Lag Collection SDK for Android