RecyclerView The RecyclerView widget is a more advanced and flexible version of ListView. This widget is a container for displaying large data sets that can be scrolled very efficiently by maintaining a limited number of views. Use the RecyclerView widget when you have data collections whose elements change at runtime based on user action or network events. It was introduced in Android Lollypop (5.0) and you can read more about it here.
Using the originally built library 1.47deg/android-swipelistview 2.47deg/android-swipelistview-sample ( sample of the above library )
I have modified the sample and also the library to work with a RecyclerView instead of a ListView. Just Playing around with RecyclerView.
XML Usage The XML usage is the same as shown here