Skip to content

Commit

Permalink
Update pager.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bentrengrove authored Feb 27, 2024
1 parent a3cc04d commit 6b43791
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pager.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ The following is a mapping of the pager classes from accompanist to androidx.com
| `PagerState#pageCount` | Use `canScrollForward` or `canScrollBackward` |
| `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` |
| `Modifier.pagerTabIndicatorOffset()` | Implement it yourself, or fork `accompanist-pager-indicators` implementation |
| `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()` |
Expand Down

0 comments on commit 6b43791

Please sign in to comment.