-
@Deprecated(message = accompanist/pager is deprecated. The androidx.compose equivalent of Pager is androidx.compose.foundation.pager.Pager. For more migration information, please visit https://google.github.io/accompanist/pager/#migration )@Stable() public interface PagerScope
Scope for HorizontalPager content.
-
-
Method Summary
Modifier and Type Method Description abstract IntegergetCurrentPage()Returns the current selected page abstract FloatgetCurrentPageOffset()The current offset from the start of currentPage, as a ratio of the page width. -
-
Method Detail
-
getCurrentPage
abstract Integer getCurrentPage()
Returns the current selected page
-
getCurrentPageOffset
abstract Float getCurrentPageOffset()
The current offset from the start of currentPage, as a ratio of the page width.
-
-
-
-