|
@@ -3,6 +3,7 @@ package com.kdanmobile.kdan_others_library_for_android.card;
|
|
|
import android.content.Context;
|
|
|
import android.util.AttributeSet;
|
|
|
|
|
|
+import com.bumptech.glide.Glide;
|
|
|
import com.kdanmobile.kdan_others_library_for_android.R;
|
|
|
|
|
|
public class AdonitCreativeStorePromoteCard extends BaseCard {
|
|
@@ -38,7 +39,7 @@ public class AdonitCreativeStorePromoteCard extends BaseCard {
|
|
|
}
|
|
|
|
|
|
private void initView() {
|
|
|
- getMediaImageView().setImageResource(R.mipmap.cd_adnoitdash3_x_c365);
|
|
|
+ Glide.with(getContext()).load(R.mipmap.cd_adnoitdash3_x_c365).into(getMediaImageView());
|
|
|
getMediaImageView().setOnClickListener(v -> {
|
|
|
if (onClickImageListener != null) onClickImageListener.onClick(v);
|
|
|
});
|