14
13
12
11
10
9
8
7

Data & Networking

Room, Retrofit, OkHttp, offline-first patterns, and data management

OkHttp Interceptors and HTTP Caching — Auth Tokens, Logging, Retry, Offline Support, and Production Setup
OkHttp Interceptors and HTTP Caching — Auth Tokens, Logging, Retry, Offline Support, and Production Setup

HTTP request passes through OkHttp interceptors. This step-by-step guide covers the mental model (airport checkpoints), how interceptors work, applica...

Retrofit Complete Guide — HTTP Requests, JSON Parsing, Interceptors, Error Handling, and Production Setup
Retrofit Complete Guide — HTTP Requests, JSON Parsing, Interceptors, Error Handling, and Production Setup

Retrofit generates HTTP client code from annotated Kotlin interfaces. This step-by-step guide covers the mental model, DTOs with Gson/Moshi, the API i...

Room Migrations, Relations, and Advanced TypeConverters — Schema Changes, One-to-Many, Many-to-Many, and Testing
Room Migrations, Relations, and Advanced TypeConverters — Schema Changes, One-to-Many, Many-to-Many, and Testing

Your database schema will change — migrations handle it without losing data. Your data model has connections — relations handle them clean...

Android Room Database — Entities, DAOs, Reactive Queries with Flow, TypeConverters, and Complete Setup
Android Room Database — Entities, DAOs, Reactive Queries with Flow, TypeConverters, and Complete Setup

Room wraps SQLite with a type-safe, compile-time validated, Kotlin-native API. This step-by-step guide covers the mental model, Entity with @PrimaryKe...

SharedPreferences vs DataStore — Why DataStore Wins and How to Migrate Step by Step
SharedPreferences vs DataStore — Why DataStore Wins and How to Migrate Step by Step

SharedPreferences blocks the main thread, has no type safety, and silently fails. DataStore fixes everything with Flow, suspend functions, and typed k...