修复:
直播間UI修改,礼物排队
This commit is contained in:
parent
7805331da6
commit
b2bc8f00e2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user