dimsuz
07/02/2021, 2:23 PMconfirmStateChange for HorizontalPager planned? With bottom sheets I often use the pattern:
1. Sheet tells the State holder that it wants to change to e.g. Expanded
2. State holder decides whether to allow or disallow
3. State holder sets new state
4. Sheet uses that to run LaunchedEffect with animateTo(Expanded)
Currently HorizontalPager provides no callback through which this can be done, it seems to change PagerState internally.dimsuz
07/02/2021, 3:08 PMsnaphotFlow