码迷,mamicode.com
首页 > 其他好文 > 详细

Adapter

时间:2016-07-08 19:52:24      阅读:201      评论:0      收藏:0      [点我收藏+]

标签:

interface Adapter

getCount()
getItem(int position)
getView(int position, View convertView, ViewGroup parent)

 interface ListAdapter

 interface SpinnerAdapter

getDropDownView(int position, View convertView, ViewGroup parent)

 abstract class BaseAdapter

notifyDataSetChanged()
notifyDataSetInvalidated()

 class ArrayAdapter

 1 ArrayAdapter(Context context, int resource)
 2 
 3 ArrayAdapter(Context context, int resource, int textViewResourceId)
 4 
 5 ArrayAdapter(Context context, int resource, T[] objects)
 6 
 7 ArrayAdapter(Context context, int resource, int textViewResourceId, T[] objects)
 8 
 9 ArrayAdapter(Context context, int resource, List<T> objects)
10 
11 ArrayAdapter(Context context, int resource, int textViewResourceId, List<T> objects)
12 
13 add(T object)
14 addAll(Collection<? extends T> collection)
15 clear()
16 static ArrayAdapter<CharSequence>    createFromResource(Context context, int textArrayResId, int textViewResId)

 class SimpleAdapter

SimpleAdapter(Context context, List<? extends Map<String, ?>> data, int resource, String[] from, int[] to)

 class CursorAdapter

CursorAdapter(Context context, Cursor c, boolean autoRequery)
CursorAdapter(Context context, Cursor c, int flags)

 class SimpleCousorAdapter

SimpleCursorAdapter(Context context, int layout, Cursor c, String[] from, int[] to, int flags)

 

Adapter

标签:

原文地址:http://www.cnblogs.com/mmyz-sysu-panjn/p/adapter.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!