I use `HorizontalPager` and I want to make second...
# compose
i
I use
HorizontalPager
and I want to make second item visible. I"ve added itemSpacing but it doesn't work, any idea?
Copy code
HorizontalPager(state = pagerState, itemSpacing = 35.dp) {
    HorizontalViewPagerItem()
}
solved 1
I want to achive
l
you also need to use contentPadding parameter. For example:
contentPadding = PaddingValues(start = 0.dp, end = 80.dp)
❤️ 1
i
I had to update library to add contentPadding, thanks
l
You are welcome!