
数据适配器
文章平均质量分 83
古月印象星空
热爱生活,热爱工作
展开
-
BaseAdapter
android.widget.BaseAdapterpublic abstract class BaseAdapter extends Object implements ListAdapter SpinnerAdapter注意是虚类哦Known Direct Sub原创 2011-10-16 10:35:10 · 1979 阅读 · 0 评论 -
CursorAdapter
CursorAdapter继承于BaseAdapter,它是个虚类,它为cursor和ListView提供了连接的桥梁。 public abstract class CursorAdapter extends BaseAdapter直接子类只有ResourceCursorAdapterClass OverviewAdapter tha原创 2011-10-24 16:50:55 · 17100 阅读 · 4 评论 -
SimpleAdapter
SimpleAdapter是ArrayList和 ListView的桥梁。这个ArrayList里边的每一项都是一个Map类型。ArrayList当中的每一项 Map对象都和ListView里边的每一项进行数据绑定一一对应。SimpleAdapter的构造函数:>, int, java.lang.String[], int[])" style="color:rgb(原创 2011-10-24 16:05:11 · 3136 阅读 · 0 评论 -
SimpleCursorAdapter
SimpleCursorAdapter继承于ResourceCursorAdapter。构造函数如下:Public ConstructorsSimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, int[] to)This construc原创 2011-10-24 16:17:45 · 3706 阅读 · 0 评论 -
视图适配器简介
虚类AdapterViewjava.lang.Object android.view.View android.view.ViewGroup android.widget.AdapterViewClass OverviewAn AdapterView is a view whose childre原创 2011-10-24 16:29:17 · 1000 阅读 · 0 评论 -
Adapter接口
public interface Adapterandroid.widget.Adapter是用于绑定Data和AdapterView 的适配器实现它的直接接口类有: ListAdapter SpinnerAdapterAdapter定义了很多接口:Public Methodsabstract intgetCount(原创 2011-10-24 16:33:24 · 1041 阅读 · 0 评论 -
HeaderViewListAdapter
public classHeaderViewListAdapter extends Object implements Filterable WrapperListAdapterClass OverviewListAdapter used when a ListView has header views. This ListAdapter wraps ano原创 2011-10-25 21:47:57 · 10956 阅读 · 0 评论 -
ResourceCursorAdapter
public abstract classResourceCursorAdapterextends CursorAdapterjava.lang.Object android.widget.BaseAdapter android.widget.CursorAdapter android.widge原创 2011-10-25 19:37:41 · 3374 阅读 · 1 评论 -
ExpandableListAdapter
public interfaceExpandableListAdapterClass OverviewAn adapter that links a ExpandableListView with the underlying data.The implementation of this interface will provide access to the data of t翻译 2011-10-26 19:40:03 · 1623 阅读 · 0 评论 -
数据适配器简介(ExpandableListAdapter)
Android为我们提供了android.widget.Adapter和android.widget.ExpandableListAdapter两大类数据适配器接口。android.widget.ExpandableListAdapter接口主要和android.widget.ExpandableListView配合使用而android.widget.Adapter接口主要和android原创 2011-10-26 21:28:01 · 4163 阅读 · 0 评论 -
SpinnerAdapter
public interfaceSpinnerAdapterimplements AdapterClass Overview Extended Adapter that is the bridge between a Spinner and its data. A spinner adapter allows to define two different vie原创 2011-10-24 16:23:53 · 3889 阅读 · 0 评论 -
数据适配器简介(Adapter)
Android为我们提供了android.widget.Adapter和android.widget.ExpandableListAdapter两大类数据适配器接口。android.widget.ExpandableListAdapter接口主要和android.widget.ExpandableListView配合使用而android.widget.Adapter接口主要和android原创 2011-10-24 16:19:42 · 2037 阅读 · 0 评论 -
ArrayAdapter
ArrayAdapter 继承于BaseAdapter ArrayAdapter(数组适配器)的作用就是一个数组和listview之间的桥梁,java.lang.Object android.widget.BaseAdapter原创 2011-10-16 10:39:06 · 2126 阅读 · 0 评论 -
CursorTreeAdapter
Class OverviewAn adapter that exposes data from a series of Cursors to an ExpandableListView widget. The top-level Cursor (that is given原创 2011-10-17 13:57:08 · 2264 阅读 · 0 评论 -
ResourceCursorTreeAdapter
public abstract classResourceCursorTreeAdapterextends CursorTreeAdapterjava.lang.Object android.widget.BaseExpandableListAdapter android.widget.CursorTreeAdapter原创 2011-10-19 22:14:42 · 1825 阅读 · 0 评论 -
SimpleCursorTreeAdapter
public abstract classSimpleCursorTreeAdapterextends ResourceCursorTreeAdapterjava.lang.Object android.widget.BaseExpandableListAdapter android.widget.CursorTreeAdapter原创 2011-10-19 22:08:20 · 1646 阅读 · 0 评论 -
BaseExpandableListAdapter
BaseExpandableListAdapterextends Objectimplements ExpandableListAdapterKnown Direct SubclassesCursorTreeAdapter, SimpleExpandableListAdapter Known Indirect SubclassesResourceCursorTree原创 2011-10-19 23:11:44 · 1899 阅读 · 0 评论 -
含头的CheckBox列表的使用实例
import java.util.ArrayList;import android.app.Activity;import android.content.Context;import android.os.Bundle;import android.util.AttributeSet;import android.util.Log;import android.vie原创 2011-10-22 11:23:10 · 1718 阅读 · 0 评论 -
CheckBox列表的使用实例
import java.util.ArrayList;import android.app.Activity;import android.content.Context;import android.os.Bundle;import android.util.AttributeSet;import android.util.Log;import android.vie原创 2011-10-22 11:29:52 · 3294 阅读 · 0 评论 -
关于适配器的getView()函数
getView是在Adapter中申明public abstract View getView (int position, View convertView, ViewGroup parent)Since: API Level 1Get a View that displays the data at the specified position in the data set. Y原创 2011-10-22 13:01:31 · 5628 阅读 · 0 评论 -
下拉框Spinner使用实例
import android.app.Activity;import android.os.Bundle;import android.widget.ArrayAdapter;import android.widget.Spinner;import com.sec.android.touchwiz.samples.R;/** * @author yh0409.kim原创 2011-10-22 13:30:40 · 3059 阅读 · 2 评论 -
BaseExpandableListAdapter
public abstract classBaseExpandableListAdapter extends Object implements ExpandableListAdapter HeterogeneousExpandableListClass OverviewBase class for a ExpandableListAdapter used to p翻译 2011-10-26 21:26:48 · 4854 阅读 · 3 评论