Tagged articles

Kotlin Coroutines

3 articles · Page 1 of 1
Thought Artisan
Thought Artisan
Sep 9, 2026 · Fundamentals

Main-Safe Pattern & Computational Abstraction: Architecture Case Studies

This article reviews two architecture case studies: the Main-Safe pattern using Kotlin suspend functions to enforce main-thread safety in Android, and a computational abstraction using FlowChain and FlowNode higher-order functions to separate invariant and variant logic, eliminating if-else chains through flow orchestration.

Android ArchitectureFlowChainFlowNode
0 likes · 5 min read
Main-Safe Pattern & Computational Abstraction: Architecture Case Studies
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Apr 28, 2022 · Mobile Development

Mastering Google Play In‑App Billing for Consumable Products with Kotlin Coroutines

This article explains how to integrate Google Play's in‑app billing for consumable items on Android, covering terminology, end‑to‑end transaction flow, key implementation steps, Kotlin Coroutine‑based pipeline design, common pitfalls, and a practical checklist for reliable payment processing.

AndroidCallbackFlowConsumable Products
0 likes · 17 min read
Mastering Google Play In‑App Billing for Consumable Products with Kotlin Coroutines
Sohu Tech Products
Sohu Tech Products
Aug 11, 2021 · Mobile Development

Encapsulating Retrofit with Kotlin Coroutines in Android MVVM Architecture

This article explains how to integrate Retrofit with Kotlin coroutines following Google’s Android architecture guidelines, covering coroutine basics, OkHttp and Retrofit setup, generic response handling, repository abstraction, ViewModel usage, and lifecycle‑aware coroutine scopes to achieve clean, asynchronous network calls.

AndroidKotlin CoroutinesLiveData
0 likes · 13 min read
Encapsulating Retrofit with Kotlin Coroutines in Android MVVM Architecture