コード例 #1
0
ファイル: QTScrollView.java プロジェクト: yqc/androidDemo
 private void initItem2(View v, DayBean bean) {
   TextView t1 = (TextView) v.findViewById(R.id.t1);
   ImageView iv1 = (ImageView) v.findViewById(R.id.iv1);
   Glide.with(getContext())
       .load(bean.getSrc()[0])
       .placeholder(R.mipmap.bg)
       .error(R.mipmap.bg)
       .into(iv1);
   t1.setText(bean.getContent());
   Log.e(TAG, "url=" + bean.getSrc()[0]);
 }