Non scrollable area inside LazyColumn
I have a LazyColumn which contains some items that are themselves scrollable (a mapbox map). Now the default behaviour is that the LazyColumn consumes the scroll completely and the map stays the same. I want to change this so that the parent (LazyColumn) does not scroll when the user interacts with the map. I already looked at the docs for nested scrolling but that seems to not cover my use case.
Interestingly the AndroidView has this behaviour so I cloud wrap the map into that, but I think there should be a better solution. Any ideas are appreciated!
Non scrollable area inside LazyColumn
I have a LazyColumn which contains some items that are themselves scrollable (a mapbox map). Now the default behaviour is that the LazyColumn consumes the scroll completely and the map stays the same. I want to change this so that the parent (LazyColumn) does not scroll when the user interacts with the map. I already looked at the docs for nested scrolling but that seems to not cover my use case.
Interestingly the AndroidView has this behaviour so I cloud wrap the map into that, but I think there should be a better solution. Any ideas are appreciated!
Keyboard overlaps content in Jetpack Compose
I cannot do it.
My manifest is like this:
Keyboard overlaps content in Jetpack Compose
I cannot do it.
My manifest is like this:
Why does button with onClick lambda recompose twice on every click?
Why does button recompose twice on every click?
Why does button with onClick lambda recompose twice on every click?
Why does button recompose twice on every click?
Jetpack Compose LazyList scroll position not maintained after navigation
I am using Jetpack Compose in my app and have encountered an issue where the scroll position in a LazyColumn
is not maintained when navigating away from the screen and then returning. I am using rememberLazyListState
to manage the scroll state, but it always resets when I come back to the progressingWorkoutScreen
.
Parameters to every compose
Using Jetpack Compose I need to pass a lot of parameters to each compose, like navController.
How Do I Force a Composable To Be On the Left, Even in RTL Layout Directions?
Normally, Compose automatically handles LTR and RTL layout directions. For example, Alignment.TopEnd
will be on the right for a LTR locale and on the left for an RTL locale. And, normally, this is what we want.
Strange behaviour of requiredWidthIn() inside Row in compose
I have a Row
which contains three Text
components. The behaviour I want is to shrink the second and third texts to the minimum width of 50 dp if the first text is too long.