Showing posts from November, 2014

Simple RecyclerView example in Android

Hi guys, It's been a longtime, herewith I came up with a RecyclerView example, I hope you enjoy this blog too.

 RecyclerView is just an advance for ListView. Hereafter you can use RecyclerView instead of ListView. RecyclerView can do all works performed by ListView. And also RecyclerView is more flexible with large data set. In this blog you can learn how to create a simple RecyclerView and also adapter for this RecyclerView. You can create RecyclerView by using appcompat-v7 support jar.


import; import; import; import; import; import android.os.Bundle; import android.view.LayoutInflater; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.view.ViewGroup; import java.util.ArrayList; import java.util.List; public class…