Tagged articles
4 articles
Page 1 of 1
JD Retail Technology
JD Retail Technology
Dec 1, 2020 · Fundamentals

In‑Depth Source Code Analysis of Kotlin Coroutines: Launch, Suspension, and Resumption

This article provides a comprehensive source‑code walkthrough of Kotlin coroutines, explaining how launch creates a coroutine, how the compiler transforms suspend functions into state‑machine classes, and detailing the mechanisms of suspension and resumption through Continuation, Dispatchers, and the coroutine scheduler.

AsyncCoroutinesDispatcher
0 likes · 46 min read
In‑Depth Source Code Analysis of Kotlin Coroutines: Launch, Suspension, and Resumption
Seewo Tech Circle
Seewo Tech Circle
Jul 26, 2019 · Frontend Development

WPF Rendering Explained: From OnRender to Screen

This article walks developers through the complete WPF rendering pipeline, detailing the three-layer architecture, message loop handling, Dispatcher processing, DirectX integration, and how drawing commands travel from OnRender to the screen, while providing code examples and references to deepen understanding.

DirectXDispatcherRendering
0 likes · 19 min read
WPF Rendering Explained: From OnRender to Screen
21CTO
21CTO
Mar 24, 2018 · Mobile Development

What Drives Modern Android Architecture? From MVC to MVX and Router‑Based Decoupling

This article examines the evolution of Android architectural patterns—from MVC, MVP, and MVVM to Flutter‑derived frameworks and Android Architecture Components—explaining their layering, communication mechanisms, and how router‑based decoupling can achieve fully modular mobile applications.

AndroidDispatcherFlutter
0 likes · 11 min read
What Drives Modern Android Architecture? From MVC to MVX and Router‑Based Decoupling
Tencent Music Tech Team
Tencent Music Tech Team
Jun 2, 2016 · Mobile Development

Ensuring a Single Instance of the Main Activity in Android Using a Dispatcher Activity

To guarantee a single persistent main Activity while allowing sub‑Activities and third‑party navigation, the article proposes routing all external and internal launches through a dedicated DispatcherActivity that uses FLAG_ACTIVITY_NEW_TASK | FLAG_ACTIVITY_CLEAR_TOP, a static weak reference, and onNewIntent handling, avoiding singleTask/instance modes.

ActivityAndroidDispatcher
0 likes · 14 min read
Ensuring a Single Instance of the Main Activity in Android Using a Dispatcher Activity