Android Lollipop features two new widgets to make your life easier, RecyclerView and CardView . Download full example on Github . RecyclerView 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. The RecyclerView and CardView both are available in the Android support library, to use support library in android studio. your app root folder -> right click -> open module setting -> select your module -> select dependence tab -> click on + sign -> Library dependence, add both library. com.android.support:recyclerview-v7:22.1.1 com.android.support:cardview-v7:22.1.1 now create layout for RecycleView : <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/and...
Advance Android Examples