Skip to content Skip to sidebar Skip to footer
Showing posts with the label Android Jetpack Compose

Jetpack Compose : Viewtreelifecycleowner Not Found

I'm getting this error while using Compose in my fragment which works fine in case of XML ViewT… Read more Jetpack Compose : Viewtreelifecycleowner Not Found

How Request Permissions With Jetpack Compose?

How should be implemented requesting permission from Jetpack Compose View? I'm trying implement… Read more How Request Permissions With Jetpack Compose?

Why A New Viewmodel Is Created In Each Compose Navigation Route?

I have a single activity app using only composables for the ui (one activity, no fragments). I use … Read more Why A New Viewmodel Is Created In Each Compose Navigation Route?

How To Share A Viewmodel Between Two Or More Jetpack Composables Inside A Compose Navgraph?

Consider this example. For authentication, we'll be using 2 screens - one screen to enter phone… Read more How To Share A Viewmodel Between Two Or More Jetpack Composables Inside A Compose Navgraph?

Pass Parcelable Argument With Compose Navigation

I want to pass a parcelable object (BluetoothDevice) to a composable using compose navigation. Pass… Read more Pass Parcelable Argument With Compose Navigation

Take Screenshot Of A Composable Fun Programmatically In Jetpack Compose

I would like to capture the UI emitted by Jetpack compose as a Bitmap. In XML this was done like th… Read more Take Screenshot Of A Composable Fun Programmatically In Jetpack Compose