Fixed
Status Update
Comments
jn...@google.com <jn...@google.com>
ap...@google.com <ap...@google.com> #2
Thanks for filing the issue.
This is a particularly hard device to come by - do you happen to have access to the device? If so could you provide us with the output of: adb shell dumpsys media.camera > info.txt
Thanks!
This is a particularly hard device to come by - do you happen to have access to the device? If so could you provide us with the output of: adb shell dumpsys media.camera > info.txt
Thanks!
Description
Talking with the UX team about the best defaults to apply for a
ScalingLazyColumnListState
we have agreed to change the defaultinitialCenterItemIndex
from 0 to 1. This means that by default a ScalingLazyColumn will have it 2nd item (index == 1) in the middle of the screen with it's first item (index == 0) above it and visible.This behaviour can easily be overridden by developers by passing
initialCenterItemIndex == 0
torememberScalingLazyListState()
.If there are insufficient items in the list to position item 1 in the center then the actual center item and offset will correctly report the resulting values in the state.