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