PagerSnapHelperVerbose

PagerSnapHelperVerbose

class PagerSnapHelperVerbose

Constructors

<init>

constructor(recyclerView: RecyclerView, externalListener: RVPagerStateListener)

Parameters

Name Description
recyclerView: RecyclerView
externalListener: RVPagerStateListener

Methods

onGlobalLayout

fun onGlobalLayout()

ReturnValue

Name Description
Unit

findSnapView

fun findSnapView(layoutManager: RecyclerView.LayoutManager?): View?

Parameters

Name Description
layoutManager: RecyclerView.LayoutManager?

ReturnValue

Name Description
View?

findTargetSnapPosition

fun findTargetSnapPosition(layoutManager: RecyclerView.LayoutManager?, velocityX: Int, velocityY: Int): Int

Parameters

Name Description
layoutManager: RecyclerView.LayoutManager?
velocityX: Int
velocityY: Int

ReturnValue

Name Description
Int