0

picture-1picture-2I used vertical recyclerView with snap helper. Everything is ok. but i want to constraint each item to top of screen instead of center of screen.

val snapHelper = LinearSnapHelper()  

snapHelper.attachToRecyclerView(binding.mainRcv)

In this code, each item is center-aligned. but i want top-aligned of the screen. i want to picture-1. Thanks

kadirgun
  • 151
  • 1
  • 6

0 Answers0