diff options
| author | 2024-10-17 11:48:32 +0000 | |
|---|---|---|
| committer | 2024-10-24 13:01:03 +0000 | |
| commit | cf92b9b3216f5b4e694315c892889cfb71eb8e9b (patch) | |
| tree | e2434f745556ef85c07708b2a2f1c22f1f58bc5f /tests/DynamicCodeLoggerIntegrationTests/src | |
| parent | 80d63f34f8edb5390d24708b7d139420c8c97475 (diff) | |
Add ScrollController in PriorityNestedScrollConnection
Now, `onStart` needs to provides a `ScrollController` to manage the
scrolling.
A PriorityNestedScrollConnection ensures only one ScrollController is
active at a time, guaranteeing methods are called in the correct
sequence.
The ScrollController provides control over the scroll gesture.
It allows you to:
- Scroll the content by a given pixel amount.
- Stop the scrolling with a given initial velocity.
- Cancel the current scroll operation.
Test: Refactor. Manually tested on the demo app and Flexiglass
Bug: 371984715
Flag: com.android.systemui.scene_container
Change-Id: I86724b73f4178995c39d167daea0a7de6370f7d4
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src')
0 files changed, 0 insertions, 0 deletions