diff --git a/common/src/main/java/com/yunbao/common/views/LiveNewWishGiftViewHolder.java b/common/src/main/java/com/yunbao/common/views/LiveNewWishGiftViewHolder.java index 624ec25a1..8fb0ab9b4 100644 --- a/common/src/main/java/com/yunbao/common/views/LiveNewWishGiftViewHolder.java +++ b/common/src/main/java/com/yunbao/common/views/LiveNewWishGiftViewHolder.java @@ -17,17 +17,19 @@ import com.yunbao.common.views.weight.ViewClicksAntiShake; */ public class LiveNewWishGiftViewHolder extends RecyclerView.ViewHolder { private ImageView giftImg; - private TextView giftName; + private TextView giftName, price; public LiveNewWishGiftViewHolder(@NonNull View itemView) { super(itemView); giftImg = itemView.findViewById(R.id.gift_img); giftName = itemView.findViewById(R.id.gift_name); + price = itemView.findViewById(R.id.price); } public void setData(GiftListModel model, ViewClicksAntiShake.ViewClicksCallBack callBack) { ImgLoader.display(itemView.getContext(), model.getImg(), giftImg); giftName.setText(model.getName()); + price.setText(model.getPrice()); ViewClicksAntiShake.clicksAntiShake(itemView.findViewById(R.id.wish_gift), callBack); } diff --git a/common/src/main/res/layout/item_gitf_wish.xml b/common/src/main/res/layout/item_gitf_wish.xml index fa6b16746..b3631e799 100644 --- a/common/src/main/res/layout/item_gitf_wish.xml +++ b/common/src/main/res/layout/item_gitf_wish.xml @@ -1,10 +1,10 @@ + + + + + + + \ No newline at end of file diff --git a/live/src/main/res/mipmap-mdpi/icon_diamond.png b/common/src/main/res/mipmap-xxhdpi/icon_diamond.png similarity index 100% rename from live/src/main/res/mipmap-mdpi/icon_diamond.png rename to common/src/main/res/mipmap-xxhdpi/icon_diamond.png