关播页面
This commit is contained in:
parent
5570d29f32
commit
a632e48d38
@ -3,6 +3,7 @@ package com.yunbao.common.views.weight;
|
|||||||
import android.app.Activity;
|
import android.app.Activity;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import android.os.Handler;
|
import android.os.Handler;
|
||||||
|
import android.text.TextUtils;
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
import android.view.Gravity;
|
import android.view.Gravity;
|
||||||
import android.view.View;
|
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) {
|
public void builderFloat(Activity mContext, String url, Class<?> back) {
|
||||||
this.mContext = mContext;
|
this.mContext = mContext;
|
||||||
this.url = url;
|
this.url = url;
|
||||||
|
if (TextUtils.isEmpty(url)) return;
|
||||||
APPEasyFloat.getInstance().layout(R.layout.view_flaot_live)
|
APPEasyFloat.getInstance().layout(R.layout.view_flaot_live)
|
||||||
.dragEnable(true)
|
.dragEnable(true)
|
||||||
.setAutoMoveToEdge(true)
|
.setAutoMoveToEdge(true)
|
||||||
@ -126,6 +128,7 @@ public class LiveFloatView implements Function1<FloatCallbacks.Builder, Unit> {
|
|||||||
liveOnInvokeView = new LiveOnInvokeView();
|
liveOnInvokeView = new LiveOnInvokeView();
|
||||||
this.mContext = mContext;
|
this.mContext = mContext;
|
||||||
this.url = url;
|
this.url = url;
|
||||||
|
if (TextUtils.isEmpty(url)) return;
|
||||||
EasyFloat.with(mContext)
|
EasyFloat.with(mContext)
|
||||||
.setTag(TAG)
|
.setTag(TAG)
|
||||||
.setLayout(R.layout.view_flaot_live, liveOnInvokeView)
|
.setLayout(R.layout.view_flaot_live, liveOnInvokeView)
|
||||||
|
@ -750,6 +750,7 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe
|
|||||||
}
|
}
|
||||||
mLiveBean.setIsattention(isattention + "");
|
mLiveBean.setIsattention(isattention + "");
|
||||||
mLiveEndViewHolder.showData(mLiveBean, mLiveBean.getStream());
|
mLiveEndViewHolder.showData(mLiveBean, mLiveBean.getStream());
|
||||||
|
mLiveBean.setPull(null);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user