Adapter Responsibilities in Android Development | Generated by AI

Home 2025.11

Correct answer: B. Provide data and create views for each item

The Adapter is the core component that acts as a bridge between your data source (e.g., a List, Array, Cursor, or any collection) and the RecyclerView/ListView.

Its main responsibilities are:

In short: The adapter supplies the data and generates/binds the views that represent each list item.

Quick comparison of the options:

So yes, B is the right answer!


Back

x-ai/grok-4.1-fast

Donate