This is a typical resource adapter class.
这是一个典型的资源适配器类。
One option always available is to create an adapter class.
一种可用的方案是创建适配器类。
The end result is an extremely lightweight adapter class that implements the functionality required by the RoundThing interface.
最终的结果是一个高度轻量级的适配器类,它实现了RoundThing接口所需的功能。
Adapter class that provide empty implementations of the methods and can reduce the amount of code you need to write.
adapter类,这个类提供了一些空的方法实现,并且可以减少您需要编写的代码数量。
There are several implementations of the Adapter class, for specific tasks, such as the CursorAdapter for reading database data from a Cursor, or an ArrayAdapter for reading from an arbitrary array.
针对特定的任务有着很多不同的Adapter类实现,比如CursorAdapter依据Cursor读出一个数据库的数据,而一个ArrayAdapter则从任一个数组进行读取。
There are several implementations of the Adapter class, for specific tasks, such as the CursorAdapter for reading database data from a Cursor, or an ArrayAdapter for reading from an arbitrary array.
针对特定的任务有着很多不同的Adapter类实现,比如CursorAdapter依据Cursor读出一个数据库的数据,而一个ArrayAdapter则从任一个数组进行读取。
应用推荐