getSnapPosition
Get current snap item position of a recyclerView.
Return
Position of the item or RecyclerView.NO_POSITION (-1)
Parameters
layoutManager
Target recyclerView
Get current snap item position of a recyclerView.
Position of the item or RecyclerView.NO_POSITION (-1)
Target recyclerView