How to update a parent Composable to show a progress in an onboarding process
I would like to implement an onboarding process using a parent Composable
showing the current step (e.g. “1 from 5”). The parent knowns nothing about the children, triggering the progress updates (I can not change the existing app architecture). The progress update also has to work on back navigation (e.g. from step 3 to step 2).
Compose not recomposing all the time when expected
I have a simple composable function, but it is not behaving as I would expect:
Is there a way to detect a HomeButton Press for Versions up of Tiramisu
I’m currently creating a custom home launcher and i have sub pages (for example the app drawer), if i want to leave from there back the the main home screen (on most launchers different pages), the most intuitive way of doing so is the home button. How do I detect the user pressing this?
(!) I don’t want to override it’s behaviour, I want to detect the press of it.
How to use ViewModel correctly to share, mutate or observe data between different layers in an android app using Jetpack Compose?
I am new to Jetpack compose, when following the example video from https://developer.android.com/develop/ui/compose/state at 4:00
How to use ViewModel correctly to share, mutate or observe data between different layers in an android app using Jetpack Compose?
I am new to Jetpack compose, when following the example video from https://developer.android.com/develop/ui/compose/state at 4:00
How to maintain composable’s weight with respect to its intrinsic height in a scrollable Column?
I have this layout in which the first Box
in the Column
has the height set to 360.dp
but also weight
set to 1f
so that it fills the available space:
How to maintain composable’s weight with respect to its intrinsic height in a scrollable Column?
I have this layout in which the first Box
in the Column
has the height set to 360.dp
but also weight
set to 1f
so that it fills the available space:
How to maintain composable’s weight with respect to its intrinsic height in a scrollable Column?
I have this layout in which the first Box
in the Column
has the height set to 360.dp
but also weight
set to 1f
so that it fills the available space:
How to maintain composable’s weight with respect to its intrinsic height in a scrollable Column?
I have this layout in which the first Box
in the Column
has the height set to 360.dp
but also weight
set to 1f
so that it fills the available space:
How can I move, rotate and resize an element in jetpack compose?
I’m migrating one of our app to compose, and i’m having trouble with a key feature. I want to create a composable that represents an element with a main body and two anchors. Here’s what i need it to do: