直播内播放修改

This commit is contained in:
18401019693
2022-10-21 16:01:03 +08:00
parent 05d4b29991
commit e0a398a9fd
3 changed files with 2 additions and 5 deletions

View File

@@ -144,7 +144,7 @@ public class APPEasyFloat implements Application.ActivityLifecycleCallbacks {
}
private void initShow(Activity activity) {
if (FloatingView.get().getContainer() == null) {
if (FloatingView.get().getView() == null) {
EnFloatingView enFloatingView = new EnFloatingView(activity, mLayout);
FloatingView.get().customView(enFloatingView);
if (magnetViewListener != null) {

View File

@@ -77,7 +77,7 @@ public class LiveFloatView implements Function1<FloatCallbacks.Builder, Unit> {
@Override
public void onRemove() {
mPlayer.stopPlay();
// mPlayer.stopPlay();
}
})
.show(mContext);