-
public class HorizontalPagerDefaultsContains the default fling values used by HorizontalPager.
This exists only until available in androidx.wear.compose.foundation.pager.
-
-
Field Summary
Fields Modifier and Type Field Description public final static HorizontalPagerDefaultsINSTANCE
-
Method Summary
Modifier and Type Method Description final TargetedFlingBehaviorflingParams(PagerState pagerState)Creates flingParams that represents fling properties for HorizontalPager. -
-
Method Detail
-
flingParams
@Composable() final TargetedFlingBehavior flingParams(PagerState pagerState)
Creates flingParams that represents fling properties for HorizontalPager. See HorizontalPagerSample for usage.
- Parameters:
pagerState- the state to control this pager
-
-
-
-