修改多人Pk界面样式

This commit is contained in:
18401019693 2023-03-04 15:32:41 +08:00
parent 5c5114f808
commit 46fa2419d3

View File

@ -102,7 +102,6 @@ import com.yunbao.common.utils.SVGAViewUtils;
import com.yunbao.common.utils.ScreenDimenUtil;
import com.yunbao.common.utils.SpUtil;
import com.yunbao.common.utils.StringUtil;
import com.yunbao.common.utils.ToastUtil;
import com.yunbao.common.utils.WordUtil;
import com.yunbao.common.utils.formatBigNum;
import com.yunbao.common.views.AbsViewHolder;
@ -463,7 +462,10 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
}
}
private static boolean visibility;
public void hotAddVisibility(boolean visibility) {
this.visibility = visibility;
ft_hot_add.setVisibility(visibility ? View.GONE : View.VISIBLE);
}
@ -3174,9 +3176,9 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
/**
* 获取是否有热度卡加成
*/
public static void getIsHot(String isUseHotCard) {
public void getIsHot(String isUseHotCard) {
ImgLoader.display2(Contexts, "https://downs.yaoulive.com/img_hot_gif.gif", img_hot_gif);
if ("1".equals(isUseHotCard)) {
if ("1".equals(isUseHotCard) && !visibility) {
ft_hot_add.setVisibility(View.VISIBLE);
} else {
ft_hot_add.setVisibility(View.GONE);