Frequently asked questions
- I still don't understand how
RecyclerAdapter
works – why?That's because we haven't really discussed it. The reason we have not discussed the behind-the-scenes details is that we don't need to know them. If we override the required methods, as we have just seen, everything will work. This is how
RecyclerAdapter
and most other classes we use are meant to be: hidden implementations with public methods to expose the necessary functionality. - Do I need to know what is going on inside the
RecyclerAdapter
class and other classes as well?It is true that there are more details about
RecyclerAdapter
(and almost every class that we use in this book) that we don't have the space to discuss. It is good practice to read the official documentation of the classes you use. You can read more about all the classes from the Android API here: https://developer.android.com/reference.