Craft with Compose

onValueChange = { value = it }
Understanding onValueChange = { value = it } in Jetpack Compose
Jetpack Compose introduces a very different mental model compared to XML-based Android UI. One line that often confuses beginners (and even experienced Android devs at first) is:Kotlin onValueChange...
State Management in Jetpack Compose
Modern State Management in Jetpack Compose: Flows, Side Effects, and UI State
State management is the backbone of any modern Android app. If state is messy, your UI becomes unpredictable, buggy, and hard to maintain. Jetpack Compose was designed to solve many of these problems,...
Composition Over Inheritance
What Is Composition Over Inheritance? The Built-In Compose Way Explained
If you’ve been writing object-oriented code for a while, you’ve probably used inheritance a lot. It feels natural. You create a base class, extend it, override a few methods, and move on.But as projects...
ViewModel and rememberSaveable
The Truth About ViewModel and rememberSavable: Configuration Changes vs Process Death
If you’ve built Android apps with Jetpack Compose, you’ve probably run into the question: Should I use ViewModel or rememberSaveable? Both help you keep state alive, but they work very differently depending...
1 2 3 8
error: Content is protected !!