是什么在Android的适配器的作用是什么?

问题描述:

我最近开始工作在Android上。我想知道在何时何地适配器的使用和如何使用它们?

I have recently started working on Android. I want to know when and where adapters are used and how they are used?

我没有从Android的开发者文档获取更多的信息。

I didn't get much information from android's developer documentation.

你有没有看到罗曼盖伊给这个谷歌I / O presentation:的 http://www.youtube.com/watch?v=N6YdwzAvwOA ?如果你还没有,我强烈建议看它(至少前10分钟,如果不是全部的东西),看看您是否仍然有后的问题。这就是为什么适配器存在一个很好的概述,以及如何最好地使用它们。

Have you seen this Google I/O presentation given by Romain Guy: http://www.youtube.com/watch?v=N6YdwzAvwOA? If you haven't, I highly suggest watching it (at least the first 10 minutes if not the whole thing) and see if you still have questions after that. It is an excellent overview of why adapters exist and how best to use them.