What's the role of adapters in Android? Ask Question

What's the role of adapters in Android? Ask Question

I want to know when, where and how adapters are used in the context of Android.

The information from Android's developer documentation was insufficient for me and I'd like to get a more detailed analysis.

ベストアンサー1

Well adapters in Android are basically a bridge between the UI components and the data source that fill data into the UI Component

For example, Lists (UI Component) get populated by using a list adapter, from a data source array.

おすすめ記事