Craft with Compose

Sticky Header in Jetpack Compose
How to Create a Sticky Header in Jetpack Compose
If you’ve ever scrolled through a long list in an app and noticed that the section title stays pinned at the top until the next section appears, you’ve seen a sticky header. Sticky headers make lists easier...
State Hoisting in Jetpack Compose
State Hoisting in Jetpack Compose: Best Practices for Scalable Apps
When building Android apps with Jetpack Compose, state management is one of the most important pieces to get right. If you don’t handle state properly, your UI can become messy, tightly coupled, and hard...
State Management in Jetpack Compose
Mastering State Management in Jetpack Compose: A Comprehensive Guide
State management is one of the most critical aspects of building dynamic and interactive Android applications. With Jetpack Compose, Android’s modern UI toolkit, managing state becomes more intuitive,...
collectAsStateWithLifecycle
Lifecycle-Aware State in Compose: Why collectAsStateWithLifecycle Outperforms collectAsState
Jetpack Compose makes UI state management feel almost magical — you observe a Flow, call collectAsState(), and your composable stays up to date. But here’s the catch: not all flows are equal when...
1 2 3 4 7
error: Content is protected !!