Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
232 views
in Technique[技术] by (71.8m points)

What's the role of adapters in Android?

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.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
...