In this tutorial, we learn about RecyclerView.
The RecyclerView widget is a more advanced and flexible version of ListView.
In the RecyclerView model, several different components work together to display your data. The overall container for your user interface is a RecyclerView object that you add to your layout. The RecyclerView fills itself with views provided by a layout manager that you provide. You can use one of our standard layout managers (such as LinearLayoutManager or GridLayoutManager), or implement your own.
MyHolder:- Holds the text, images etc.
MyAdapter:- It gives the position to text, image etc. in an array.
Following dependency :-
compile 'com.github.bumptech.glide:glide:4.0.0'
compile 'com.android.support:recyclerview-v7:26.1.0'
compile 'com.android.support:cardview-v7:26.1.0'
For more details
Visit :- https://developer.android.com/guide/t...
Hope you enjoyed this tutorial.
Please Like, Share & Subscribe.