Kyant
03/16/2024, 1:59 PMLazyHorizontalPager
is only 200 lines (including PagerState
). There is a bug in the official `HorizontalPager`: when you scroll to fling, then touch screen, it will transform touch event into small scroll event... so the users can't click and have to wait for the animation finished. In terms of performance, to optmize it will take complex measures, such as using custom Layout
, Modifier.Node
to cahce something, and make the recomposition less. If you animate the TextStyle
in Text
, it will recompose on every frame and very laggy, I have to create a custom Modifier.Node
to make it not to recompose. So the work amount is indeed increasing. I am tired of writing compose now, it makes me headache.Stylianos Gakis
03/16/2024, 3:49 PMSergey Y.
03/16/2024, 9:30 PMeygraber
03/17/2024, 12:57 AMbrandonmcansh
03/17/2024, 8:04 PMKyant
04/02/2024, 2:08 PMKyant
04/02/2024, 2:26 PMTextMotion.Animated
only enable subpixels, but don't prevent recompose?Stylianos Gakis
04/02/2024, 2:29 PMKyant
04/02/2024, 2:30 PM