Showing posts with the label Coroutines

Android Unit Testing: JVM and Mocking Patterns

M obile application stability is often compromised by the complexity of the Android lifecycle and the tight coupling between UI components and business logic. In a CI/CD environment, relying solely …
Android Unit Testing: JVM and Mocking Patterns

Android Jsoupスクレイピング: 画像収集アプリのアーキテクチャと非同期処理

モ バイルアプリケーション開発において、公式APIが存在しないデータソースへのアクセスが必要となるケースは少なくありません。レガシーシステムの統合や、サードパーティのデータ収集において、HTML解析(スクレイピング)は依然として有効な選択肢の一つです。本稿では、Androidプラットフォーム上でHTMLパーサライブラリである Jsoup を利用し、画像リソースを効率的に収集・表示するアプリケー…
Android Jsoupスクレイピング: 画像収集アプリのアーキテクチャと非同期処理

Escaping Callback Hell: Real-world Kotlin Coroutines & Flow Migration

The screen freezes. You tap the button again, but nothing happens. Five seconds later, the dreaded "Application Not Responding" (ANR) dialog kills the experience. In 2024, blocking the mai…
Escaping Callback Hell: Real-world Kotlin Coroutines & Flow Migration

안드로이드 ANR 잡는 Coroutine Flow: RxJava 마이그레이션과 StateFlow 활용 전략

사용자 트래픽이 몰리는 피크 타임, 앱이 멈추거나 스크롤이 버벅이는 현상(Jank)을 겪어본 적이 있으신가요? AsyncTask 의 메모리 누수 문제나 RxJava의 가파른 러닝 커브로 인해 유지보수에 고통받던 레거시 프로젝트를 맡았을 때, 가장 먼저 직면한 문제는 바로 비동기 로직의 복잡성 이었습니다. 특히 메인 스레드를 점유하는 무거운 연산은 치명적…
안드로이드 ANR 잡는 Coroutine Flow: RxJava 마이그레이션과 StateFlow 활용 전략
OlderHomeNewest