|
|
@@ -1,4 +1,4 @@
|
|
|
-package com.itant.shibei.adapter;
|
|
|
+package com.itant.shibei.ui.function.template;
|
|
|
|
|
|
import android.app.Activity;
|
|
|
import android.content.Context;
|
|
|
@@ -8,7 +8,6 @@ import android.widget.ImageView;
|
|
|
|
|
|
import com.bumptech.glide.Glide;
|
|
|
import com.bumptech.glide.load.engine.DiskCacheStrategy;
|
|
|
-import com.bumptech.glide.load.resource.bitmap.RoundedCorners;
|
|
|
import com.bumptech.glide.request.RequestOptions;
|
|
|
import com.bumptech.glide.request.target.SimpleTarget;
|
|
|
import com.bumptech.glide.request.transition.Transition;
|
|
|
@@ -32,8 +31,8 @@ public class TemplateAdapter extends CommonAdapter<TemplateBean> {
|
|
|
private List<TemplateBean> mTemplateList;
|
|
|
//private int mRadius = 8;
|
|
|
|
|
|
- public TemplateAdapter(Context context, int layoutId, List<TemplateBean> templateBeanList) {
|
|
|
- super(context, layoutId, templateBeanList);
|
|
|
+ public TemplateAdapter(Context context, List<TemplateBean> templateBeanList) {
|
|
|
+ super(context, R.layout.item_template, templateBeanList);
|
|
|
mTemplateList = templateBeanList;
|
|
|
//mRadius = (int) context.getResources().getDimension(R.dimen.margin_s);
|
|
|
}
|