修复:

直播間UI修改,礼物排队
This commit is contained in:
18401019693 2022-08-31 20:14:31 +08:00
parent 7805331da6
commit b2bc8f00e2

View File

@ -1125,6 +1125,7 @@ public class LiveGiftAnimPresenter {
});
} else {
GifCacheUtil.getFile(Constants.GIF_GIFT_PREFIX + bean.getGiftId(), url, "1", mDownloadGifCallback);
}
}
}
@ -1234,7 +1235,13 @@ public class LiveGiftAnimPresenter {
public void onFinished() {
mSVGAImageView.clear();
mSVGAImageView.setVisibility(View.GONE);
mShowGif = false;
long diffTime = 4000 - (System.currentTimeMillis() - mSvgaPlayTime);
if (diffTime < 0) {
diffTime = 0;
}
if (mHandler != null) {
mHandler.sendEmptyMessageDelayed(WHAT_GIF, diffTime);
}
}
@Override