Android RecyclerView – Swipe To Open Activity [ItemTouchHelper]

Read-only properties in JavaFX 8

Android RecyclerView – Swipe To Open Activity [ItemTouchHelper]







  • Android RecyclerView ItemTouchHelper Example.
  • The user shall swipe a viewitem to open the corresponding activity.
  • We open the activity and pass data from Master Activity to the detail activity.

RecyclerSwipeToActivity

Android RecyclerView Swipe to open activity.

Quick OverView

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.



    Leave a Reply

    Your email address will not be published. Required fields are marked *

    nine + two =

    COMMENTS