Tagged articles
9 articles
Page 1 of 1
21CTO
21CTO
Mar 22, 2023 · Frontend Development

8 Must‑Try JavaScript Notification Libraries to Boost Your Web UI

This article reviews eight popular JavaScript notification libraries, comparing their features, popularity, and installation methods, to help developers choose the most suitable solution for enhancing user experience with timely in‑app messages.

JavaScriptLibraryNotification
0 likes · 12 min read
8 Must‑Try JavaScript Notification Libraries to Boost Your Web UI
Meituan Technology Team
Meituan Technology Team
Mar 29, 2018 · Mobile Development

Solving Android Toast Restrictions and Crash Issues

To avoid crashes and missing messages caused by newer Android restrictions on Toast—such as disabled notifications, BadTokenException on pre‑8.0 devices, and token‑null errors on Android 7.1—developers intercept Toast.show with AspectJ, replace it with a custom MToast, handle exceptions, and ultimately migrate to a robust Snackbar‑based notification system.

AndroidCrashMobile Development
0 likes · 18 min read
Solving Android Toast Restrictions and Crash Issues
Tencent Music Tech Team
Tencent Music Tech Team
Jan 19, 2018 · Mobile Development

Analyzing and Solving Android Toast Issues with Snackbar and View System

The article examines Android Toast crashes, explains the system‑level window and drawing lifecycle, and proposes safer alternatives by replacing Toast with a Snackbar or custom view hierarchy, using parent‑finding logic, weak‑reference management, and a protective handler wrapper to prevent exceptions.

AndroidHandlerLifecycle
0 likes · 17 min read
Analyzing and Solving Android Toast Issues with Snackbar and View System
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 ProxyException Handling
0 likes · 11 min read
Analysis of Toast Display Issues in Android Applications
网易UEDC
网易UEDC
Mar 22, 2017 · Frontend Development

Mastering Overlay Layers: Dialogs, Toasts, and Snackbars Explained

This article defines overlay layers, compares dialog boxes, toasts, and snackbars, outlines their modal and non‑modal variants, usage scenarios, design tips, advantages, and drawbacks, helping designers choose the right temporary UI component for mobile and web applications.

DialogMobileOverlay
0 likes · 10 min read
Mastering Overlay Layers: Dialogs, Toasts, and Snackbars Explained
Tencent Cloud Developer
Tencent Cloud Developer
Jan 19, 2017 · Databases

Understanding PostgreSQL TOAST (The Oversized-Attribute Storage Technique)

PostgreSQL's TOAST mechanism automatically compresses and, when necessary, moves oversized column values to an external toast table, using four storage strategies (plain, extended, external, main) that dictate compression and externalization behavior, with data exceeding roughly 2 KB triggering external storage regardless of strategy.

Database StorageExternal StoragePostgreSQL
0 likes · 8 min read
Understanding PostgreSQL TOAST (The Oversized-Attribute Storage Technique)