clearView
open fun clearView(@NonNull recyclerView: RecyclerView, @NonNull viewHolder: RecyclerView.ViewHolder)(source)
Called by the ItemTouchHelper when the user interaction with an element is over and it also completed its animation.
This is a good place to clear all changes on the View that was done in onSelectedChanged, onChildDraw or onChildDrawOver.
Parameters
recyclerView
The RecyclerView which is controlled by the ItemTouchHelper.
viewHolder
The View that was interacted by the user.