I have made a recycleview in the android. I am a beginner in android and don’t know how to add the swipe functionality to it!
Like, I have the recycleview having bind to the list of LinearLayout having 2TextViews and an ImageView in it.
Now I want to add the swap functionality to it, such that when I do the swap the next item of the list comes and when I swap back the previous item comes.
I don’t know how to do that!