9.11 ContactsAdapter
Class
In Section 8.6, we discussed how to create a RecyclerView.Adapter
that’s used to bind data to a RecyclerView
. Here we highlight only the new code that helps the ContactsAdapter
(Fig. 9.39) to populate the RecyclerView
with contact names from a Cursor
.
Nested Interface ContactClickListener
Lines ...
Get Android How to Program, 3/e now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.