a ListView, it was recommended to use the the viewHolder pattern but In Case
RecyclerView, this is compulsory using the RecyclerView,ViewHolder class.
ListView, the only type of View available is the vertical ListView. There is no
official way to even implement a horizontal ListView.
Using a RecyclerView :
(i) LinearLayoutManager- support both vertical and Horizontal
(ii)StaggeredLayoutManager-support Pinterest like Staggered
(iii) GridLayoutManager-Support display grids as gallery.
3. In LIstVIew
,programmatically decorating items like adding borders or dividers but in
recyclerView, used RecyclerView.ItemDecorater class gives huge control to the
4. the simple listview click
interface for example-AdapterView.OnItemClickListener Interface. But the RecyclerView Gives
Much More Power and control to its developer by RecyclerView.OnItemTouchListener
1. More complex then ListVIew.
2. Take a lot of time for beginner to understand.
3. You will need to spend lot of
time and not an easy implementation comparison to listView.