반응형 scroll1 [Android] Compose Auto Scroll pager 자동으로 Scroll 되고 사용자가 Scroll 할 수 있는 Pager 가 필요한 경우가 있다. 얼마전까지 Accompanist 에 있었지만 deprecated 되어서 구현했다. 중요한 것은 pagerState의 현재 page 값을 받아오는 state다.pagerState.settledPageThe page that is currently "settled". This is an animation/gesture unaware page in the sense that it will not be updated while the pages are being scrolled, but rather when the animation/scroll settles. Please refer to the sample to l.. 2023. 7. 24. 이전 1 다음 반응형