DEV Community

Kotlin

a cross-platform, statically typed, general-purpose programming language with type inference

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
Why I Stopped Using Callbacks in Android and Switched to Flow + ViewModel Events

Why I Stopped Using Callbacks in Android and Switched to Flow + ViewModel Events

Comments
3 min read
Kotlin Coroutines to TypeScript: Three Cancellation Patterns That Aren't 1:1

Kotlin Coroutines to TypeScript: Three Cancellation Patterns That Aren't 1:1

Comments
9 min read
Stop the Low Memory Killer: Mastering Memory-Efficient RAG on Android with Gemini Nano

Stop the Low Memory Killer: Mastering Memory-Efficient RAG on Android with Gemini Nano

Comments
8 min read
I built a multilingual AI tools directory in Kotlin and Next.js, solo. Here's what 6 months taught me (mostly painful).

I built a multilingual AI tools directory in Kotlin and Next.js, solo. Here's what 6 months taught me (mostly painful).

Comments 2
11 min read
Self-Referential Generics in Kotlin: When Type Safety Requires Talking to Yourself

Self-Referential Generics in Kotlin: When Type Safety Requires Talking to Yourself

Comments
10 min read
Day 6/100: Context in Android — The Wrong One Will Leak Your Entire Activity

Day 6/100: Context in Android — The Wrong One Will Leak Your Entire Activity

Comments
7 min read
I'm 18 and Built an Open-Source Camera That Cryptographically Proves Photos Are Real

I'm 18 and Built an Open-Source Camera That Cryptographically Proves Photos Are Real

Comments
3 min read
Honor's isIgnoringBatteryOptimizations() returns true in foreground and false in background — for the same app, at the same time

Honor's isIgnoringBatteryOptimizations() returns true in foreground and false in background — for the same app, at the same time

2
Comments 2
3 min read
Beyond Keywords: Mastering On-Device Embeddings with Android AICore and Gemini Nano

Beyond Keywords: Mastering On-Device Embeddings with Android AICore and Gemini Nano

1
Comments
8 min read
Sleep, Sort, Repeat: Testing Kotlin Coroutines with Virtual Time

Sleep, Sort, Repeat: Testing Kotlin Coroutines with Virtual Time

25
Comments
4 min read
Android XML vs Jetpack Compose — Which One Should You Use in 2026?

Android XML vs Jetpack Compose — Which One Should You Use in 2026?

Comments
3 min read
From Resilience4j to TypeScript: Build the JVM Patterns You Already Know

From Resilience4j to TypeScript: Build the JVM Patterns You Already Know

1
Comments
9 min read
Kotlin `apply` / `also` / `with` Don't Translate to TypeScript

Kotlin `apply` / `also` / `with` Don't Translate to TypeScript

1
Comments
9 min read
Structured Concurrency in Practice: CoroutineScope vs StructuredTaskScope [Part 3]

Structured Concurrency in Practice: CoroutineScope vs StructuredTaskScope [Part 3]

Comments
4 min read
Structured Concurrency in Practice: CoroutineScope vs StructuredTaskScope [Part 4]

Structured Concurrency in Practice: CoroutineScope vs StructuredTaskScope [Part 4]

Comments
6 min read
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.