Assigned
Status Update
Comments
le...@google.com <le...@google.com> #2
Automatic regression verification started for measurement:
ChromiumPerf/android-pixel6-perf/system_health.memory_mobile/memory:chrome:all_processes:reported_by_chrome:malloc:max_committed_size_avg/browse_news
Verification workflow id: projects/62121018386/locations/us-central1/workflows/sandwich-verification-workflow-prod/executions/f430dab5-4642-48dd-a3d6-a50904c1d68e
ChromiumPerf/android-pixel6-perf/system_health.memory_mobile/memory:chrome:all_processes:reported_by_chrome:malloc:max_committed_size_avg/browse_news
Verification workflow id: projects/62121018386/locations/us-central1/workflows/sandwich-verification-workflow-prod/executions/f430dab5-4642-48dd-a3d6-a50904c1d68e
Description
Currently,
rememberPagerState
does not support a lambda for theinitialPage
parameter, which limits its flexibility when the initial page needs to be calculated dynamically based on other inputs or values.It would be beneficial to add an overload to
rememberPagerState
that accepts a lambda forinitialPage
, similar to howpageCount
is handled. This would allow for more flexibility, enabling developers to compute the initial page value dynamically based on changing data.Proposed Change:
Add an overload to
rememberPagerState
that allows theinitialPage
parameter to accept a lambda function.Example: