RecyclerView Adapters part 2: RecyclerView Cursor Adapter

In the Android platform, a CursorAdapter is an Adapter that exposes data from a Cursor object to a ListView widget. This second post about RecyclerView Adapters will explain on how to make a simple and reusable Cursor adapter yourself, and how to use it in your application. In a third post about RecyclerView Adapters, I’ll show a more advanced version of this CursorAdapter class.

Continue Reading

swapCursor vs changeCursor, what’s the difference?

Implementing a ListView is probably one of the first things you do when learning Android development. At In the Pocket, we use them a lot. To make everything work as smooth as possible, all Android developer at In the Pocket agreed to use CursorAdapters as much as possible. You probably wonder why we do this? Continue Reading