google / horologist

Horologist is a group of libraries that aim to supplement Wear OS developers with features that are commonly required by developers but not yet available.
https://google.github.io/horologist/
Apache License 2.0
543 stars 87 forks source link

[FR] Expose beyondViewportPageCount to PagerScreen #2226

Closed Tolriq closed 1 month ago

Tolriq commented 1 month ago

As per title it would be nice if beyondViewportPageCount was exposed via PagerScreen

On a 2 page pager, it's more efficient to keep the second page loaded then constantly rebuild on page change.

yschimke commented 1 month ago

@Tolriq care to review?