RecyclerView in Fragment – How to retrieve data from an Array List

Roeben Pierce Boyles | 12 xp

So I saw this tutorial that creates a recyclerview in fragments of navigation drawer. In this tutorial, the data is store in an array. What I am trying to do right now is to store the data in an ArrayList.

Here is my code in ‘Tutor’ Fragment


This is the code of my Adapter:

And this my getter/setter code:

When I try to run the app, it crashes.

Kprabhu Got | 158 xp

Show me your log here