Menu

#DevtoKotlin

123 posts

Feed·
13 of 123 posts
Past the Tap: Making Compose Screens Behave When the Mouse, Keyboard, and Stylus Show Up
🖼️
0Read More

Past the Tap: Making Compose Screens Behave When the Mouse, Keyboard, and Stylus Show Up

DEV Community: kotlin·Android Expert·about 6 hours ago
#SityINke
#devtokotlin#devto#dev#focus#modifier

How Compose routes pointer and key events, and six production failure modes that break shortcuts, focus, and hover on large screens.

15s
Tracing Without Guesswork: Closing the Loop Between Your Laptop Profiler and a Stranger’s Pixel
🖼️
0Read More

Tracing Without Guesswork: Closing the Loop Between Your Laptop Profiler and a Stranger’s Pixel

DEV Community: kotlin·Android Expert·about 6 hours ago
#PYXgdnTe
#devtokotlin#devto#dev#slices#tracing

Connect androidx.tracing 2.0, macrobenchmarks, and ProfilingManager into one loop that ends “cannot reproduce” tickets for good.

15s
Quayside Benchmarks: Making Compose Faster Without Fooling Yourself
🖼️
0Read More

Quayside Benchmarks: Making Compose Faster Without Fooling Yourself

DEV Community: kotlin·Android Expert·about 6 hours ago
#Tpm7MsWi
#devtokotlin#devto#dev#berth#samples

Profile with Perfetto, choose computedStateOf or derivedStateOf, use keyed SideEffect, and dodge the traps that make tuning backfire.

15s
Pixels Are Not Free: Right-Size, Share, and Release Bitmaps Before Android Does It for You
🖼️
0Read More

Pixels Are Not Free: Right-Size, Share, and Release Bitmaps Before Android Does It for You

DEV Community: kotlin·Android Expert·about 6 hours ago
#IJGOE5KS
#devtokotlin#devto#dev#bitmap#size

A field guide to cutting Android bitmap memory with three levers: Reduce, Reuse, and Recycle, from decode sizing to onTrimMemory.

15s
The Launcher That Outlives Your UI: Field Notes on rememberLauncherForActivityResult
🖼️
0Read More

The Launcher That Outlives Your UI: Field Notes on rememberLauncherForActivityResult

DEV Community: kotlin·Android Expert·about 6 hours ago
#6QhcFNdG
#devtokotlin#devto#dev#launcher#launch

Compose makes system UI feel like a function call, but your process can die mid-call. Here are nine failure modes and how to fix them.

15s
Branching Without the Else: A Field Guide to Kotlin’s onTrue, onFalse and ifOrNull
🖼️
0Read More

Branching Without the Else: A Field Guide to Kotlin’s onTrue, onFalse and ifOrNull

DEV Community: kotlin·Android Expert·about 6 hours ago
#J8YonTEc
#devtokotlin#devto#dev#enter#exit

Kotlin 2.5’s experimental Boolean helpers trim boilerplate, but they hide real traps in Compose, locks and nullable results.

15s
Why Your Compose Tests Started Failing: The v2 Test Dispatcher Explained
🖼️
0Read More

Why Your Compose Tests Started Failing: The v2 Test Dispatcher Explained

DEV Community: kotlin·Android Expert·about 6 hours ago
#Jz23nXhm
#devtokotlin#devto#dev#test#composerule

A one-line import change moved Compose tests to StandardTestDispatcher. Here’s what breaks, why, and how to fix a large suite safely.

15s
Six Builders, One Mental Model: Choosing the Right Kotlin Coroutine Builder in a Production Android App
🖼️
0Read More

Six Builders, One Mental Model: Choosing the Right Kotlin Coroutine Builder in a Production Android App

DEV Community: kotlin·Android Expert·about 6 hours ago
#b894GZ3H
#devtokotlin#devto#dev#failure#async

How launch, async, runBlocking, coroutineScope, supervisorScope and withContext differ, and the production failure modes that bite.

15s
Stop typing on your TV with a remote: setting up a source from your phone
📰
0Read More

Stop typing on your TV with a remote: setting up a source from your phone

DEV Community: kotlin·Yonto Player·about 6 hours ago
#j6HP7JTj
#devtokotlin#devto#dev#phone#form

Typing on a TV with a remote is the worst part of almost any media app. A server address, a user name...

15s
Securing Kotlin and Spring Boot APIs with OAuth2 and JWT: A Beginner Guide Worth Reading
📰
0Read More

Securing Kotlin and Spring Boot APIs with OAuth2 and JWT: A Beginner Guide Worth Reading

DEV Community: kotlin·Gursimar Singh·about 18 hours ago
#INW8WePU
#devtokotlin#devto#dev#apis#oauth2

If you’ve built a REST API with Spring Boot and Kotlin but never locked it down with tokens,...

15s
Building StareBrain, Part 21: Natural Language Planning — Turning a Raw Instruction into an AgentTask
📰
0Read More

Building StareBrain, Part 21: Natural Language Planning — Turning a Raw Instruction into an AgentTask

DEV Community: kotlin·StareBrain·about 18 hours ago
#TN6omKHm
#devtokotlin#devto#dev#instruction#appendline

Building StareBrain, Part 21: Natural Language Planning — Turning a Raw Instruction into an...

15s
Twenty phone photos into one PDF you can still email: skip PdfDocument and embed the JPEG bytes
📰
0Read More

Twenty phone photos into one PDF you can still email: skip PdfDocument and embed the JPEG bytes

DEV Community: kotlin·Ashwar Sadh·about 18 hours ago
#a9OXgksO
#devtokotlin#devto#dev#offset#caption

Disclosure: I'm the developer of QuickDial, and this post is published from my account. It was...

15s