荣誉成就
This commit is contained in:
@@ -519,7 +519,7 @@ public class SudSwGameActivity extends AbsActivity implements GameSwMicManager.M
|
||||
if (IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) {
|
||||
ToastUtil.show("貨幣数量不足 ");
|
||||
} else {
|
||||
ToastUtil.show("Shortage of money");
|
||||
ToastUtil.show("Insufficient number of currency");
|
||||
}
|
||||
|
||||
}
|
||||
@@ -532,7 +532,7 @@ public class SudSwGameActivity extends AbsActivity implements GameSwMicManager.M
|
||||
if (IMLoginManager.get(mContext).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) {
|
||||
ToastUtil.show("貨幣数量不足 ");
|
||||
} else {
|
||||
ToastUtil.show("Shortage of money");
|
||||
ToastUtil.show("Insufficient number of currency");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -436,10 +436,9 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
||||
private pl.droidsonroids.gif.GifDrawable mGifDrawable;
|
||||
|
||||
private static boolean isSw;
|
||||
|
||||
public static SVGAVideoEntity drawableTitleCn;
|
||||
public static SVGAVideoEntity drawableTitleEn;
|
||||
public static SVGAVideoEntity drawableBg;
|
||||
public static SVGAVideoEntity drawableTitleCn;
|
||||
public static SVGAVideoEntity drawableTitleEn;
|
||||
public static SVGAVideoEntity drawableBg;
|
||||
|
||||
public LiveRoomViewHolder setGuardType(int guardType) {
|
||||
this.guardType = guardType;
|
||||
@@ -543,7 +542,6 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
||||
SVGADrawable drawable = new SVGADrawable(videoItem);
|
||||
svga_new_user_gif.setImageDrawable(drawable);
|
||||
SVGAViewUtils.playEndClear(svga_new_user_gif);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -615,28 +613,31 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
||||
System.err.println("-------------SVGA报错了");
|
||||
}
|
||||
}, null);
|
||||
new SVGAParser(mContext).decodeFromAssets("gift_live_naming_title_cn.svga", new SVGAParser.ParseCompletion() {
|
||||
@Override
|
||||
public void onComplete(@NonNull SVGAVideoEntity videoItem) {
|
||||
drawableTitleCn = videoItem;
|
||||
}
|
||||
if(WordUtil.isNewZh()){
|
||||
new SVGAParser(mContext).decodeFromAssets("gift_live_naming_title_cn.svga", new SVGAParser.ParseCompletion() {
|
||||
@Override
|
||||
public void onComplete(@NonNull SVGAVideoEntity videoItem) {
|
||||
drawableTitleCn = videoItem;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onError() {
|
||||
System.err.println("-------------SVGA报错了");
|
||||
}
|
||||
}, null);
|
||||
new SVGAParser(mContext).decodeFromAssets("gift_live_naming_title_en.svga", new SVGAParser.ParseCompletion() {
|
||||
@Override
|
||||
public void onComplete(@NonNull SVGAVideoEntity videoItem) {
|
||||
drawableTitleEn = videoItem;
|
||||
}
|
||||
@Override
|
||||
public void onError() {
|
||||
System.err.println("-------------SVGA报错了");
|
||||
}
|
||||
}, null);
|
||||
}else{
|
||||
new SVGAParser(mContext).decodeFromAssets("gift_live_naming_title_en.svga", new SVGAParser.ParseCompletion() {
|
||||
@Override
|
||||
public void onComplete(@NonNull SVGAVideoEntity videoItem) {
|
||||
drawableTitleEn = videoItem;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onError() {
|
||||
System.err.println("-------------SVGA报错了");
|
||||
}
|
||||
}, null);
|
||||
@Override
|
||||
public void onError() {
|
||||
System.err.println("-------------SVGA报错了");
|
||||
}
|
||||
}, null);
|
||||
}
|
||||
}
|
||||
|
||||
public void clearList() {
|
||||
@@ -3686,7 +3687,8 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
||||
ViewClicksAntiShake.clicksAntiShake(giftWall, new ViewClicksAntiShake.ViewClicksCallBack() {
|
||||
@Override
|
||||
public void onViewClicks() {
|
||||
Bus.get().post(new LiveAudienceEvent().setType(LiveAudienceEvent.LiveAudienceType.GIFT_WALL).setUid(mLiveUid).setVoicePress(true).setAvatar(mAvatarUrl).setUname(mAnchorName));
|
||||
new com.yunbao.common.dialog.GiftWallDialog(mContext, mLiveUid + "",mAnchorName, true).setFullWindows(false).showDialog();
|
||||
//Bus.get().post(new LiveAudienceEvent().setType(LiveAudienceEvent.LiveAudienceType.GIFT_WALL).setUid(mLiveUid).setVoicePress(true).setAvatar(mAvatarUrl).setUname(mAnchorName));
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user