RecyclerView Adapters part 1: RecyclerView Array Adapter

Nowadays most Android developers use the new RecyclerView instead of a ListView or GridView. The RecyclerView widget is a more advanced and flexible version of ListView. This widget is a container for displaying large data sets that can be scrolled very efficiently by maintaining a limited number of views.

The sad thing is that Google didn’t provide us with a set af default RecyclerView Adapter classes to extend from, like they previously did for the ListView. The first one I’ll discuss is a RecyclerView Array Adapter, which allows you to easily bind a List of objects to your RecyclerView.

Continue Reading