料体消息添加动画效果
This commit is contained in:
parent
05ff51bd48
commit
8730a6396f
@ -10,9 +10,9 @@ ext {
|
||||
manifestPlaceholders = [
|
||||
//正式
|
||||
|
||||
// serverHost : "https://napi.yaoulive.com",
|
||||
serverHost : "https://napi.yaoulive.com",
|
||||
//
|
||||
serverHost : "https://ceshi.yaoulive.com",
|
||||
// serverHost : "https://ceshi.yaoulive.com",
|
||||
|
||||
//腾讯地图
|
||||
txMapAppKey : "EOZBZ-ASLCU-4XPV3-BDCHZ-4E3Q7-H4BWB",
|
||||
|
@ -305,7 +305,7 @@ public class LiveRyLinkMicPkPresenter implements View.OnClickListener {
|
||||
int i = 0;
|
||||
|
||||
private void nextPkTimeCountDown() {
|
||||
Log.i("vvvs", "mHandler:" + (mHandler != null) );
|
||||
Log.i("vvvs", "mHandler:" + (mHandler != null));
|
||||
if (mHandler != null) {
|
||||
mHandler.sendEmptyMessageAtTime(WHAT_PK_TIME, getNextSecondTime());
|
||||
}
|
||||
@ -384,7 +384,7 @@ public class LiveRyLinkMicPkPresenter implements View.OnClickListener {
|
||||
* pk时间倒计时
|
||||
*/
|
||||
private void changePkTime() {
|
||||
if (mPkTimeCount<0)return;
|
||||
if (mPkTimeCount < 0) return;
|
||||
mPkTimeCount--;
|
||||
Log.i("vvvs", "mPkTimeCount:" + mPkTimeCount);
|
||||
if (mPkTimeCount >= 0) {//
|
||||
@ -2164,6 +2164,7 @@ public class LiveRyLinkMicPkPresenter implements View.OnClickListener {
|
||||
mHandler.removeCallbacksAndMessages(null);
|
||||
}
|
||||
mSocketRyClient = null;
|
||||
mHandler = null;
|
||||
if (mLiveLinkMicPkViewHolder != null) {
|
||||
mLiveLinkMicPkViewHolder.release();
|
||||
}
|
||||
|
@ -291,6 +291,9 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe
|
||||
mLiveLinkMicPresenter.setLiveSdk(mLiveSDK);
|
||||
mLiveLinkMicAnchorPresenter.setLiveSdk(mLiveSDK);
|
||||
}
|
||||
if (mLiveRyLinkMicPkPresenter==null){
|
||||
mLiveRyLinkMicPkPresenter = new LiveRyLinkMicPkPresenter(mContext, mLivePlayViewHolder, false, null);
|
||||
}
|
||||
//去除主播离开画面
|
||||
if (LivePlayKsyViewHolder.leave != null) {
|
||||
LivePlayKsyViewHolder.leave.setVisibility(View.GONE);
|
||||
@ -681,6 +684,7 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe
|
||||
if (mLiveRyLinkMicPkPresenter != null) {
|
||||
mLiveRyLinkMicPkPresenter.clearData();
|
||||
mLiveRyLinkMicPkPresenter.release();
|
||||
mLiveRyLinkMicPkPresenter = null;
|
||||
}
|
||||
if (isQuit) {
|
||||
isQuitF = true;
|
||||
|
Loading…
Reference in New Issue
Block a user