attachToRecyclerView
Attaches the ItemTouchHelper to the provided RecyclerView. If TouchHelper is already attached to a RecyclerView, it will first detach from the previous one. You can call this method with null
to detach it from the current RecyclerView.
Parameters
recyclerView
The RecyclerView instance to which you want to add this helper or null
if you want to remove ItemTouchHelper from the current RecyclerView.