When a user accidentally taps out of a ModalBottomSheet or closes it they may lose any input they have added or changes they have made, it is easy to add a close confirmation dialog before closing the sheet!
Ditch the jarring contrast of dark system bars against your vibrant app visuals. Edge-to-edge drawing in Jetpack Compose lets you transform those bars into chameleons, adapting to your UI’s colors and textures. Watch as they melt into the background, creating a unified canvas that captivates users.
What to do when you really need to keep text from resizing and how to check how your composables look with different font scales using previews.
Modifiers in Jetpack Compose can quickly get out of hand when conditions get complex. You can create a Modifier extension function to only apply the modifier if a condition is met.
What to do when you really need to keep text from resizing and how to check how your composables look with different font scales using previews.
How to generate Jetpack Compose Previews from @Composable annotated data.
How to request user input using Jetpack Compose on Android Wear OS and how to chain several input requests to provide a great user experience - even on a tiny watch screen!
Up until recently, when using Jetpack Compose you needed to use the Swipe Refresh Accompanist library to implement pull to refresh. Now, the new stable API Pull Refresh is even easier to use!
Using TopAppBar default scroll behaviours such as enterAlways and exitUntilCollapsed to create a collapsing Android app toolbar that can have a different style when expanded and collapsed.
With new developments in Android 13 and other useful techniques you can make sure users like seeing your app take up some valuable home screen real estate!