1.签约抱麦添加拒绝逻辑。
2.爵位不返回userInfo 逻辑容错。 3.礼物动画优化。
This commit is contained in:
@@ -18,6 +18,7 @@ import com.opensource.svgaplayer.SVGAVideoEntity;
|
||||
import com.tencent.qgame.animplayer.AnimConfig;
|
||||
import com.tencent.qgame.animplayer.AnimView;
|
||||
import com.tencent.qgame.animplayer.inter.IAnimListener;
|
||||
import com.xscm.moduleutil.R;
|
||||
import com.xscm.moduleutil.bean.GiftBean;
|
||||
|
||||
import java.io.File;
|
||||
@@ -31,6 +32,7 @@ import java.util.concurrent.ExecutorService;
|
||||
import java.util.concurrent.Executors;
|
||||
import java.util.concurrent.locks.ReentrantLock;
|
||||
|
||||
import lombok.Setter;
|
||||
import okhttp3.Call;
|
||||
import okhttp3.Callback;
|
||||
import okhttp3.OkHttpClient;
|
||||
@@ -46,7 +48,8 @@ public class GiftAnimView extends FrameLayout implements GiftSvgaView.OnAnimatio
|
||||
private boolean isShow = true;//是否开启特效
|
||||
private ReentrantLock lock = new ReentrantLock();
|
||||
private List<String> giftArray = new ArrayList<>();
|
||||
public ExecutorService queue = Executors.newSingleThreadExecutor();
|
||||
@Setter
|
||||
public ExecutorService queue;
|
||||
private Context mContext;
|
||||
private boolean isOnece;
|
||||
// 添加带Context参数的构造函数
|
||||
@@ -64,9 +67,6 @@ public class GiftAnimView extends FrameLayout implements GiftSvgaView.OnAnimatio
|
||||
this.mContext = context;
|
||||
init();
|
||||
}
|
||||
public void setQueue(ExecutorService queue) {
|
||||
this.queue = queue;
|
||||
}
|
||||
|
||||
public GiftAnimView(Context context) {
|
||||
super(context);
|
||||
@@ -76,13 +76,11 @@ public class GiftAnimView extends FrameLayout implements GiftSvgaView.OnAnimatio
|
||||
|
||||
private void init() {
|
||||
isLoadEffect = false;
|
||||
|
||||
setBackgroundColor(getResources().getColor(R.color.colorBlack45));
|
||||
// 初始化SVGA视图
|
||||
svgaView = new GiftSvgaView(getContext());
|
||||
addView(svgaView);
|
||||
|
||||
playerMp4View = new AnimView(getContext());
|
||||
|
||||
addView(playerMp4View);
|
||||
|
||||
// 设置布局参数 - 在Android中通常使用LayoutParams
|
||||
|
||||
Reference in New Issue
Block a user