package Ġhappy . mj studio . play abler ec y cl er view . util Ċ Ċ import Ġandroidx . recyclerview . widget . Pager Snap Helper Ċ import Ġandroidx . recyclerview . widget . RecyclerView Ċ import Ġandroidx . recyclerview . widget . Snap Helper Ċ Ċ /** Ċ Ġ* ĠCreated Ġby Ġm j Ġon Ġ 2 1 , ĠJanuary , Ġ 2 0 2 0 Ċ Ġ*/ Ċ fun ĠRecyclerView . attach Snap Helper ( snap Helper : ĠSnap Helper Ġ= ĠP ager Snap Helper ()) Ġ{ ĊĠĠĠ Ġsnap Helper . attach To RecyclerView ( this ) Ċ }