Carousel Snap Helper
Implementation of the SnapHelper that supports snapping items to the carousel keylines according to the strategy.
Functions
Link copied to clipboard
Link copied to clipboard
open fun calculateDistanceToFinalSnap(@NonNull layoutManager: RecyclerView.LayoutManager, @NonNull view: View): Array<Int>
Link copied to clipboard
Link copied to clipboard
open fun findTargetSnapPosition(layoutManager: RecyclerView.LayoutManager, velocityX: Int, velocityY: Int): Int