getView(int position, View convertView, ViewGroup parent)方法中,()参数是当前Item的位置
举一反三
- ListView自定义适配器BaseAdaper方法getView(int position, View convertView, ViewGroup parent),第一个参数position为要显示的第几个数据?
- 自定义适配器需要实现BaseAdapter类的几个方法?( ) A: getCount() B: getItem(int position) C: getItemId(int position) D: getView(int position, View convertView, ViewGroup parent)
- 10 自定义实现BaseAdapter必须实现下面那些接口?() A: public int getCount() B: public Object getItem(int position) C: public Object getItem(int position) D: public View getView(int position,View convertView,ViewGroup parent)
- 8 自定义实现BaseAdapter必须实现下面那些接口?() A: public int getCount() B: public Object getItem(int position) C: public Object getItemId(int position) D: public View getView(int position,View convertView,ViewGroup parent)
- Android中View点击事件的传递顺序() A: Activity(Window)→View B: Activity(Window)→ViewGroup→View C: ViewGroup→View