测试修改
This commit is contained in:
parent
3a259290f8
commit
3953b0c285
Binary file not shown.
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 20 KiB |
Binary file not shown.
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 21 KiB |
@ -14,6 +14,7 @@ import com.squareup.picasso.Picasso;
|
||||
import com.yunbao.common.Constants;
|
||||
import com.yunbao.common.custom.RatioRoundImageView;
|
||||
import com.yunbao.common.glide.ImgLoader;
|
||||
import com.yunbao.common.utils.DpUtil;
|
||||
import com.yunbao.common.utils.formatBigNum;
|
||||
import com.yunbao.live.bean.LiveBean;
|
||||
import com.yunbao.main.R;
|
||||
@ -127,6 +128,7 @@ public class MainHomeLiveItemViewHolder extends RecyclerView.ViewHolder {
|
||||
liveType.setVisibility(View.VISIBLE);
|
||||
Picasso.with(mContext)
|
||||
.load(bean.getRecommendCardIcon())
|
||||
.resize(DpUtil.dp2px(80),DpUtil.dp2px(33))
|
||||
.into(liveType);
|
||||
}
|
||||
viewBg.setImageResource(R.mipmap.emperor_recommendation);
|
||||
@ -136,7 +138,9 @@ public class MainHomeLiveItemViewHolder extends RecyclerView.ViewHolder {
|
||||
if (!TextUtils.isEmpty(bean.getRecommendCardIcon())) {
|
||||
liveType.setVisibility(View.VISIBLE);
|
||||
Picasso.with(mContext)
|
||||
|
||||
.load(bean.getRecommendCardIcon())
|
||||
.resize(DpUtil.dp2px(80),DpUtil.dp2px(33))
|
||||
.into(liveType);
|
||||
}
|
||||
viewBg.setImageResource(R.mipmap.superemperor_recommendation);
|
||||
|
Loading…
Reference in New Issue
Block a user