

If you are unfamiliar with all these weird names, let me give you a little rundown. This is our main activity, the main activity gets automatically created for us.

Now that we both have a solid understanding of what a RecyclerView is, lets move on.Įnter fullscreen mode Exit fullscreen mode So anytime we talk about a method being called, it is the RecyclerView library that is doing it. All we have to do is supply the data and define how the individual item looks and the RecyclerView 'LIBRARY'(not the class) dynamically creates the elements when they are needed. What makes a RecyclerView special is that it easily and effectively displays large sets of data. Basically a RecyclerView is just a view, no different than any other view, so we can add it in an XML file.

When implementing a RecyclerView inside of an activity there are 4 main steps you have to follow.ġ) Add the RecyclerView to the activity's.With that being said lets just jump into it. All the resources I used to create this post can be found on ticketnote or HERE. Join me and let us try to build and understand some cool stuff. This series is going to be dedicated to the basic to Android development.
