Is PagerScreenIndicatorState deprecated? If I override this PagerIndicatorState and override pageCount to be the pageCount I passed in, things work; but if I try to use PagerScreenIndicatorState I get 'No virtual method getPageCount() in class PagerState'. I just updated a bunch of versions and broke this code
Arjun Achatz
05/29/2023, 7:54 PM
I'm using :
Horologist v 0.4.8
Wear compose 1.1.2
Compose foundation 1.4.3
Arjun Achatz
05/29/2023, 7:57 PM
I also see in the accompanist pager migration, that pageCount turns into canScrollForward/canScrollBackward. However PagerScreenlndicatorState uses pageCount directly
y
yschimke
05/29/2023, 8:07 PM
If you are using 0.4.8 you are not on stable versions of compose. Currently a beta
yschimke
05/29/2023, 8:08 PM
You should probably use 0.3.x for stable or bump compose to latest betas