• 博客(0)
  • 资源 (2)

空空如也

Android面试题

总结了一下面试题,一些关于Android的面试题,收集了起来方便大家看

2015-12-16

Android的卡片视图

class CartAdapter extends BaseAdapter { // 保存listview item的状态 HashMap<Integer, View> map = new HashMap<Integer, View>(); // 填充数据的list private ArrayList<HashMap<String, Object>> list; // 用来控制CheckBox的选中状况 private ArrayList<Boolean> isSelected; // 上下文 private Context context; // 用来导入布局 private LayoutInflater inflater = null; // 构造器 public CartAdapter(ArrayList<HashMap<String, Object>> list, Context context) { this.context = context; this.list = list; isSelected = new ArrayList<Boolean>(); // 初始化数据 initDate(); } // 初始化isSelected的数据

2015-12-11

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除