心愿单位置移动

This commit is contained in:
18401019693 2023-04-14 10:46:13 +08:00
parent 0ed37aee11
commit cbb1531356

View File

@ -658,7 +658,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
// }
public void endDRGif() {
if (dr_pk_end_gif.getVisibility() == View.GONE) {
if (dr_pk_end_gif.getVisibility() == View.GONE && isShowGif) {
dr_pk_end_gif.setVisibility(View.VISIBLE);
visibility = false;
RequestOptions options = new RequestOptions().skipMemoryCache(true);//配置
@ -4400,12 +4400,14 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
private TextView textGrade1, textGrade2, textGrade3, textGrade4;
private ImageView imageGrade1, imageGrade2, imageGrade3, imageGrade4;
private LinearLayout linearGrade1, linearGrade2, linearGrade3, linearGrade4;
private boolean isShowGif = false;
/**
* PK倒计时
*/
private String userId2, userId3 = "", userId4;
public void upDataPkScore(JSONArray pkScores, int time) {
isShowGif = true;
if (detailsView == null) {
detailsView = LayoutInflater.from(mContext).inflate(R.layout.view_live_pk_details, null);
timeTitle = detailsView.findViewById(R.id.time_title);
@ -4556,6 +4558,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
};
public void removeDetailView() {
if (detailsView != null) {
mRoot.removeView(detailsView);
detailsView = null;
@ -4565,6 +4568,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
if (mHandler != null) {
mHandler.removeMessages(WHAT_PK_TIME);
}
isShowGif = false;
}
/**