Setting the layout of the swiped card in RecyclerView using ItemTouchHelper

354 views Asked by At

I created a RecyclerView and attached it to an ItemTouchHelper, so I can swipe the items in the list. The problem is, when I swipe an item, the separator (2dp high View) swipes with it - there seems to be an empty layout below my item.

Is there a way to change that layout? Or other ways to handle it?

0

There are 0 answers