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