A simple implementation of a RecyclerView which makes use of the SnapHelper class to make the RecyclerView snap the nearest item.
Also uses the distance from the center to fade out and scale each item on scroll.
- Android Data Binding
- Currently only works in portrait
scrollToPositionis broken as it uses the the average size of an item and the first and last items are bigger than the rest
- Add a
snappedToItemlistener - Fix
scrollToPosition, by manually calculating the offset
