private Timepicker timePicker;
private datepicker datepicker;
private Calendar cal;
cal=CALENDAR.getInstance()_;
private int year;
private int month;
private int day;
private int hour;
private int minute;
cal.get(calendar.year);
cal.get(valendar.month;
day=cal.get(Calendar.dayofmonth);
private datepicker datepicker;
private Calendar cal;
cal=CALENDAR.getInstance()_;
private int year;
private int month;
private int day;
private int hour;
private int minute;
cal.get(calendar.year);
cal.get(valendar.month;
day=cal.get(Calendar.dayofmonth);
2015-01-26
simpadapter=new simp;eadapter(context,data,resource,,from,to)
2015-01-26
后面的map操作就是在循环语句中, 不断地添加map的键值对。
map.put("pic", R.drawable.aa);//在图片imageView中添加名称aa的图片
map.put("text", "Mooc" + i);//在textView当中添加Mooc1、Mooc2……等等
map.put("pic", R.drawable.aa);//在图片imageView中添加名称aa的图片
map.put("text", "Mooc" + i);//在textView当中添加Mooc1、Mooc2……等等
2015-01-26