Android Is it possible to swipe part of an element in a recycler view?

111 views Asked by At

I have a recycler view and each element has a cardView and a text on the side like this:

RecyclerView element

My goal is to be able swipe ONLY the cardView (yellow in the picture) in order to delete de element. I'm well aware that it's possible to swipe the entire element of the recycler view, but that is not what I'm looking for.

I would really appreciate if someone could tell me if this is possible and if so how can it be achived.

Thank you!

0

There are 0 answers