去除心愿单礼物贵族和守护的金额
This commit is contained in:
parent
3c7a2d3964
commit
a5fd14cc0e
@ -1,5 +1,6 @@
|
||||
package com.yunbao.common.views;
|
||||
|
||||
import android.text.TextUtils;
|
||||
import android.view.View;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.TextView;
|
||||
@ -31,6 +32,11 @@ public class LiveNewWishGiftViewHolder extends RecyclerView.ViewHolder {
|
||||
giftName.setText(model.getName());
|
||||
price.setText(model.getPrice());
|
||||
ViewClicksAntiShake.clicksAntiShake(itemView.findViewById(R.id.wish_gift), callBack);
|
||||
if (TextUtils.equals(model.getGiftType(), "1")) {
|
||||
itemView.findViewById(R.id.lin_price).setVisibility(View.VISIBLE);
|
||||
} else {
|
||||
itemView.findViewById(R.id.lin_price).setVisibility(View.GONE);
|
||||
}
|
||||
}
|
||||
|
||||
public void onSelect(boolean select) {
|
||||
|
@ -22,6 +22,7 @@
|
||||
android:textSize="12sp" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/lin_price"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="2dp"
|
||||
|
Loading…
Reference in New Issue
Block a user