單人PK卡0分 優化計算中
This commit is contained in:
parent
2e986db686
commit
54923304dc
@ -385,7 +385,7 @@ public class LiveRyLinkMicPkPresenter implements View.OnClickListener {
|
||||
*/
|
||||
private void changePkTime() {
|
||||
mPkTimeCount--;
|
||||
if (mPkTimeCount > 0) {//
|
||||
if (mPkTimeCount >= 0) {//
|
||||
nextPkTimeCountDown();
|
||||
} else {
|
||||
if (mIsPkEnd) {
|
||||
@ -398,7 +398,7 @@ public class LiveRyLinkMicPkPresenter implements View.OnClickListener {
|
||||
// mLiveLinkMicPkViewHolder.removeFromParent();
|
||||
// mLiveLinkMicPkViewHolder.release();
|
||||
// }
|
||||
mLiveLinkMicPkViewHolder = null;
|
||||
// mLiveLinkMicPkViewHolder = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -191,8 +191,8 @@ public class LiveLinkMicPkViewHolder extends AbsViewHolder {
|
||||
public void setTime(String content) {
|
||||
if (mTime != null) {
|
||||
Log.i("vvvs",content);
|
||||
if(content.trim().equals("00:01")||content.trim().equals("00:00")){
|
||||
mTime.setText("計算中");
|
||||
if(content.trim().equals("00:00")){
|
||||
mTime.setText("結算中");
|
||||
}else {
|
||||
mTime.setText(content);
|
||||
}
|
||||
|
@ -112,6 +112,7 @@
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_marginTop="122dp"
|
||||
android:layout_marginRight="9dp"
|
||||
android:visibility="gone"
|
||||
android:background="@drawable/bg_live_other_ico"
|
||||
android:gravity="center">
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user