RecyclerView Swipe To Open Activity
Android RecyclerView Swipe to open activity.
Android ItemTouchHelper tutorial. Our component of choice is RecycerView. It shall contain cards with images and text. We swipe to open a new activity. ItemTouchHelper class can enables us implement both swipe and drag drop functionality. We are interested in swiping today.User swipes a cardview containing image and text. We open a new activity and pass the corresponding image and text to the new activity via Intent class. Animations are automatically implemented.