單人PK卡0分 優化計算中
This commit is contained in:
parent
43c22fca7c
commit
2e986db686
@ -394,10 +394,10 @@ public class LiveRyLinkMicPkPresenter implements View.OnClickListener {
|
|||||||
((LiveRyAnchorActivity) mContext).setPkBtnVisible(true);
|
((LiveRyAnchorActivity) mContext).setPkBtnVisible(true);
|
||||||
}
|
}
|
||||||
//如果PK结束Im没有发送关闭PK的消息,倒计时结束自动关闭
|
//如果PK结束Im没有发送关闭PK的消息,倒计时结束自动关闭
|
||||||
if (mLiveLinkMicPkViewHolder != null) {
|
// if (mLiveLinkMicPkViewHolder != null) {
|
||||||
mLiveLinkMicPkViewHolder.removeFromParent();
|
// mLiveLinkMicPkViewHolder.removeFromParent();
|
||||||
mLiveLinkMicPkViewHolder.release();
|
// mLiveLinkMicPkViewHolder.release();
|
||||||
}
|
// }
|
||||||
mLiveLinkMicPkViewHolder = null;
|
mLiveLinkMicPkViewHolder = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -190,10 +190,14 @@ public class LiveLinkMicPkViewHolder extends AbsViewHolder {
|
|||||||
|
|
||||||
public void setTime(String content) {
|
public void setTime(String content) {
|
||||||
if (mTime != null) {
|
if (mTime != null) {
|
||||||
|
Log.i("vvvs",content);
|
||||||
|
if(content.trim().equals("00:01")||content.trim().equals("00:00")){
|
||||||
|
mTime.setText("計算中");
|
||||||
|
}else {
|
||||||
mTime.setText(content);
|
mTime.setText(content);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public void onEnterRoomPkStart() {
|
public void onEnterRoomPkStart() {
|
||||||
if (mFrameImageView != null) {
|
if (mFrameImageView != null) {
|
||||||
|
@ -110,7 +110,7 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="27dp"
|
android:layout_height="27dp"
|
||||||
android:layout_alignParentRight="true"
|
android:layout_alignParentRight="true"
|
||||||
android:layout_marginTop="120dp"
|
android:layout_marginTop="122dp"
|
||||||
android:layout_marginRight="9dp"
|
android:layout_marginRight="9dp"
|
||||||
android:background="@drawable/bg_live_other_ico"
|
android:background="@drawable/bg_live_other_ico"
|
||||||
android:gravity="center">
|
android:gravity="center">
|
||||||
@ -174,7 +174,7 @@
|
|||||||
android:paddingBottom="5dp"
|
android:paddingBottom="5dp"
|
||||||
android:paddingLeft="8dp"
|
android:paddingLeft="8dp"
|
||||||
android:paddingRight="8dp"
|
android:paddingRight="8dp"
|
||||||
android:layout_marginTop="420dp"
|
android:layout_marginTop="400dp"
|
||||||
android:layout_marginRight="8dp"
|
android:layout_marginRight="8dp"
|
||||||
android:layout_alignParentRight="true"
|
android:layout_alignParentRight="true"
|
||||||
android:text="結束連麥"
|
android:text="結束連麥"
|
||||||
|
Loading…
Reference in New Issue
Block a user