With a `LazyColumn` that spans the entire screen h...
# compose
z
With a
LazyColumn
that spans the entire screen height, how can I add contentPadding such that the first item is centered on screen initially (without making it super-janky)? 🎅🏽 Some more details in 🧵!
It seems to me like Layout/SubcomposeLayout is ideal for this scenario, but Im a bit stuck at the thought that I need the first items height in order to decide how much padding to use. Surely theres an easy/better approach that Im just not seeing?
d
Can you reffer some design that you wanna do
j
it might be useful to take a look at how it works in
ScalingLazyColumn
from the WearOS Compose library, I believe it does this