bugfix
This commit is contained in:
@@ -499,6 +499,7 @@ public class MainActivity extends BaseMvpActivity<IMainView, MainPresenter>
|
||||
if (avatarLayout.getVisibility() == View.VISIBLE) {
|
||||
userLivingView.start();
|
||||
}
|
||||
EventBus.getDefault().post(new HomeDynamicEvent(false));
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -507,6 +508,7 @@ public class MainActivity extends BaseMvpActivity<IMainView, MainPresenter>
|
||||
if (avatarLayout.getVisibility() == View.VISIBLE) {
|
||||
userLivingView.stop();
|
||||
}
|
||||
EventBus.getDefault().post(new HomeDynamicEvent(true));
|
||||
}
|
||||
|
||||
private void initView() {
|
||||
@@ -608,7 +610,7 @@ public class MainActivity extends BaseMvpActivity<IMainView, MainPresenter>
|
||||
limitEnterRoomHelper.release();
|
||||
}
|
||||
IMBroadcastManager.get().onDestroy();
|
||||
|
||||
EventBus.getDefault().post(new HomeDynamicEvent(true));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user