From b62a67a4657f80abc2155434ec7e786e8a042c76 Mon Sep 17 00:00:00 2001 From: Rebecca Franks Date: Wed, 11 Oct 2023 12:56:03 +0100 Subject: [PATCH] Update pager.md --- docs/pager.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/pager.md b/docs/pager.md index fbece2432..7dabe576a 100644 --- a/docs/pager.md +++ b/docs/pager.md @@ -34,8 +34,8 @@ The following is a mapping of the pager classes from accompanist to androidx.com | `calculateCurrentOffsetForPage` | Use `(pagerState.currentPage - page) + pagerState.currentPageOffsetFraction` | | `PagerState#currentPageOffset` | `PagerState#currentPageOffsetFraction` | | `Modifier.pagerTabIndicatorOffset()` | Implement it yourself, or still include and use `accompanist-pager-indicators`, it now supports `androidx.compose.foundation.pager.PagerState` | -| `HorizontalPagerIndicator` | Implement it yourself, or still include and use `accompanist-pager-indicators`, it now supports `androidx.compose.foundation.pager.HorizontalPager` by explicitly providing a `pageCount` param to the `HorizontalPagerIndicator` method | -| `VerticalPagerIndicator` | Implement it yourself, or still include and use `accompanist-pager-indicators`, it now supports `androidx.compose.foundation.pager.HorizontalPager` by explicitly providing a `pageCount` param to the `HorizontalPagerIndicator` method | +| `HorizontalPagerIndicator` | Implement it yourself, or fork `accompanist-pager-indicators` implementation | +| `VerticalPagerIndicator` | Implement it yourself, or fork `accompanist-pager-indicators` implementation | | `PagerDefaults.flingBehavior()` | `androidx.compose.foundation.pager.PagerDefaults.flingBehavior()` | The biggest change is that `HorizontalPager` and `VerticalPager`'s number of pages is now called `pageCount` instead of `count`.