关播页面

This commit is contained in:
18401019693 2022-10-29 15:58:14 +08:00
parent 5570d29f32
commit a632e48d38
2 changed files with 4 additions and 0 deletions

View File

@ -3,6 +3,7 @@ package com.yunbao.common.views.weight;
import android.app.Activity;
import android.os.Bundle;
import android.os.Handler;
import android.text.TextUtils;
import android.util.Log;
import android.view.Gravity;
import android.view.View;
@ -59,6 +60,7 @@ public class LiveFloatView implements Function1<FloatCallbacks.Builder, Unit> {
public void builderFloat(Activity mContext, String url, Class<?> back) {
this.mContext = mContext;
this.url = url;
if (TextUtils.isEmpty(url)) return;
APPEasyFloat.getInstance().layout(R.layout.view_flaot_live)
.dragEnable(true)
.setAutoMoveToEdge(true)
@ -126,6 +128,7 @@ public class LiveFloatView implements Function1<FloatCallbacks.Builder, Unit> {
liveOnInvokeView = new LiveOnInvokeView();
this.mContext = mContext;
this.url = url;
if (TextUtils.isEmpty(url)) return;
EasyFloat.with(mContext)
.setTag(TAG)
.setLayout(R.layout.view_flaot_live, liveOnInvokeView)

View File

@ -750,6 +750,7 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe
}
mLiveBean.setIsattention(isattention + "");
mLiveEndViewHolder.showData(mLiveBean, mLiveBean.getStream());
mLiveBean.setPull(null);
}
@Override