Merge remote-tracking branch 'origin/声网升级' into 声网升级
This commit is contained in:
commit
8c89fc1de1
@ -1733,63 +1733,63 @@ public class LiveSwLinkMicPkPresenter implements View.OnClickListener {
|
|||||||
if (TextUtils.equals(userID, userID1)) {
|
if (TextUtils.equals(userID, userID1)) {
|
||||||
textGrade1.setText(String.valueOf(userScore));
|
textGrade1.setText(String.valueOf(userScore));
|
||||||
if (!score.containsKey("paiming")) {
|
if (!score.containsKey("paiming")) {
|
||||||
ImgLoader.display(mContext, R.mipmap.icon_livepk_no1, imageGrade1);
|
imageGrade1.setImageResource(R.mipmap.icon_livepk_no1);
|
||||||
} else {
|
} else {
|
||||||
int ranking = score.getIntValue("paiming");
|
int ranking = score.getIntValue("paiming");
|
||||||
switch (ranking) {
|
switch (ranking) {
|
||||||
case 1:
|
case 1:
|
||||||
ImgLoader.display(mContext, R.mipmap.icon_livepk_no1, imageGrade1);
|
imageGrade1.setImageResource(R.mipmap.icon_livepk_no1);
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
ImgLoader.display(mContext, R.mipmap.icon_livepk_no2, imageGrade1);
|
imageGrade1.setImageResource(R.mipmap.icon_livepk_no2);
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
ImgLoader.display(mContext, R.mipmap.icon_livepk_no3, imageGrade1);
|
imageGrade1.setImageResource(R.mipmap.icon_livepk_no3);
|
||||||
break;
|
break;
|
||||||
case 4:
|
case 4:
|
||||||
ImgLoader.display(mContext, R.mipmap.icon_livepk_no4, imageGrade1);
|
imageGrade1.setImageResource(R.mipmap.icon_livepk_no4);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (TextUtils.equals(userID, userID2)) {
|
} else if (TextUtils.equals(userID, userID2)) {
|
||||||
textGrade2.setText(String.valueOf(userScore));
|
textGrade2.setText(String.valueOf(userScore));
|
||||||
if (!score.containsKey("paiming")) {
|
if (!score.containsKey("paiming")) {
|
||||||
ImgLoader.display(mContext, R.mipmap.icon_livepk_no1, imageGrade2);
|
imageGrade2.setImageResource(R.mipmap.icon_livepk_no1);
|
||||||
} else {
|
} else {
|
||||||
int ranking = score.getIntValue("paiming");
|
int ranking = score.getIntValue("paiming");
|
||||||
switch (ranking) {
|
switch (ranking) {
|
||||||
case 1:
|
case 1:
|
||||||
ImgLoader.display(mContext, R.mipmap.icon_livepk_no1, imageGrade2);
|
imageGrade2.setImageResource(R.mipmap.icon_livepk_no1);
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
ImgLoader.display(mContext, R.mipmap.icon_livepk_no2, imageGrade2);
|
imageGrade2.setImageResource(R.mipmap.icon_livepk_no2);
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
ImgLoader.display(mContext, R.mipmap.icon_livepk_no3, imageGrade2);
|
imageGrade2.setImageResource(R.mipmap.icon_livepk_no3);
|
||||||
break;
|
break;
|
||||||
case 4:
|
case 4:
|
||||||
ImgLoader.display(mContext, R.mipmap.icon_livepk_no4, imageGrade2);
|
imageGrade2.setImageResource(R.mipmap.icon_livepk_no4);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (TextUtils.equals(userID, userID4)) {
|
} else if (TextUtils.equals(userID, userID4)) {
|
||||||
textGrade4.setText(String.valueOf(userScore));
|
textGrade4.setText(String.valueOf(userScore));
|
||||||
if (!score.containsKey("paiming")) {
|
if (!score.containsKey("paiming")) {
|
||||||
ImgLoader.display(mContext, R.mipmap.icon_livepk_no1, imageGrade4);
|
imageGrade4.setImageResource(R.mipmap.icon_livepk_no1);
|
||||||
} else {
|
} else {
|
||||||
int ranking = score.getIntValue("paiming");
|
int ranking = score.getIntValue("paiming");
|
||||||
switch (ranking) {
|
switch (ranking) {
|
||||||
case 1:
|
case 1:
|
||||||
ImgLoader.display(mContext, R.mipmap.icon_livepk_no1, imageGrade4);
|
imageGrade4.setImageResource(R.mipmap.icon_livepk_no1);
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
ImgLoader.display(mContext, R.mipmap.icon_livepk_no2, imageGrade4);
|
imageGrade4.setImageResource(R.mipmap.icon_livepk_no2);
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
ImgLoader.display(mContext, R.mipmap.icon_livepk_no3, imageGrade4);
|
imageGrade4.setImageResource(R.mipmap.icon_livepk_no3);
|
||||||
break;
|
break;
|
||||||
case 4:
|
case 4:
|
||||||
ImgLoader.display(mContext, R.mipmap.icon_livepk_no4, imageGrade4);
|
imageGrade4.setImageResource(R.mipmap.icon_livepk_no4);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1815,84 +1815,84 @@ public class LiveSwLinkMicPkPresenter implements View.OnClickListener {
|
|||||||
if (TextUtils.equals(userID, userID1)) {
|
if (TextUtils.equals(userID, userID1)) {
|
||||||
textGrade1.setText(String.valueOf(userScore));
|
textGrade1.setText(String.valueOf(userScore));
|
||||||
if (!score.containsKey("paiming")) {
|
if (!score.containsKey("paiming")) {
|
||||||
ImgLoader.display(mContext, R.mipmap.icon_livepk_no1, imageGrade1);
|
imageGrade1.setImageResource(R.mipmap.icon_livepk_no1);
|
||||||
} else {
|
} else {
|
||||||
int ranking = score.getIntValue("paiming");
|
int ranking = score.getIntValue("paiming");
|
||||||
switch (ranking) {
|
switch (ranking) {
|
||||||
case 1:
|
case 1:
|
||||||
ImgLoader.display(mContext, R.mipmap.icon_livepk_no1, imageGrade1);
|
imageGrade1.setImageResource(R.mipmap.icon_livepk_no1);
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
ImgLoader.display(mContext, R.mipmap.icon_livepk_no2, imageGrade1);
|
imageGrade1.setImageResource(R.mipmap.icon_livepk_no2);
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
ImgLoader.display(mContext, R.mipmap.icon_livepk_no3, imageGrade1);
|
imageGrade1.setImageResource(R.mipmap.icon_livepk_no3);
|
||||||
break;
|
break;
|
||||||
case 4:
|
case 4:
|
||||||
ImgLoader.display(mContext, R.mipmap.icon_livepk_no4, imageGrade1);
|
imageGrade1.setImageResource(R.mipmap.icon_livepk_no4);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (TextUtils.equals(userID, userID2)) {
|
} else if (TextUtils.equals(userID, userID2)) {
|
||||||
textGrade2.setText(String.valueOf(userScore));
|
textGrade2.setText(String.valueOf(userScore));
|
||||||
if (!score.containsKey("paiming")) {
|
if (!score.containsKey("paiming")) {
|
||||||
ImgLoader.display(mContext, R.mipmap.icon_livepk_no1, imageGrade2);
|
imageGrade2.setImageResource(R.mipmap.icon_livepk_no1);
|
||||||
} else {
|
} else {
|
||||||
int ranking = score.getIntValue("paiming");
|
int ranking = score.getIntValue("paiming");
|
||||||
switch (ranking) {
|
switch (ranking) {
|
||||||
case 1:
|
case 1:
|
||||||
ImgLoader.display(mContext, R.mipmap.icon_livepk_no1, imageGrade2);
|
imageGrade2.setImageResource(R.mipmap.icon_livepk_no1);
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
ImgLoader.display(mContext, R.mipmap.icon_livepk_no2, imageGrade2);
|
imageGrade2.setImageResource(R.mipmap.icon_livepk_no2);
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
ImgLoader.display(mContext, R.mipmap.icon_livepk_no3, imageGrade2);
|
imageGrade2.setImageResource(R.mipmap.icon_livepk_no3);
|
||||||
break;
|
break;
|
||||||
case 4:
|
case 4:
|
||||||
ImgLoader.display(mContext, R.mipmap.icon_livepk_no4, imageGrade2);
|
imageGrade2.setImageResource(R.mipmap.icon_livepk_no4);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (TextUtils.equals(userID, userID4)) {
|
} else if (TextUtils.equals(userID, userID4)) {
|
||||||
textGrade4.setText(String.valueOf(userScore));
|
textGrade4.setText(String.valueOf(userScore));
|
||||||
if (!score.containsKey("paiming")) {
|
if (!score.containsKey("paiming")) {
|
||||||
ImgLoader.display(mContext, R.mipmap.icon_livepk_no1, imageGrade4);
|
imageGrade4.setImageResource(R.mipmap.icon_livepk_no1);
|
||||||
} else {
|
} else {
|
||||||
int ranking = score.getIntValue("paiming");
|
int ranking = score.getIntValue("paiming");
|
||||||
switch (ranking) {
|
switch (ranking) {
|
||||||
case 1:
|
case 1:
|
||||||
ImgLoader.display(mContext, R.mipmap.icon_livepk_no1, imageGrade4);
|
imageGrade4.setImageResource(R.mipmap.icon_livepk_no1);
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
ImgLoader.display(mContext, R.mipmap.icon_livepk_no2, imageGrade4);
|
imageGrade4.setImageResource(R.mipmap.icon_livepk_no2);
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
ImgLoader.display(mContext, R.mipmap.icon_livepk_no3, imageGrade4);
|
imageGrade4.setImageResource(R.mipmap.icon_livepk_no3);
|
||||||
break;
|
break;
|
||||||
case 4:
|
case 4:
|
||||||
ImgLoader.display(mContext, R.mipmap.icon_livepk_no4, imageGrade4);
|
imageGrade4.setImageResource(R.mipmap.icon_livepk_no4);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (TextUtils.equals(userID, userID3)) {
|
} else if (TextUtils.equals(userID, userID3)) {
|
||||||
textGrade3.setText(String.valueOf(userScore));
|
textGrade3.setText(String.valueOf(userScore));
|
||||||
if (!score.containsKey("paiming")) {
|
if (!score.containsKey("paiming")) {
|
||||||
ImgLoader.display(mContext, R.mipmap.icon_livepk_no1, imageGrade3);
|
imageGrade3.setImageResource(R.mipmap.icon_livepk_no1);
|
||||||
} else {
|
} else {
|
||||||
int ranking = score.getIntValue("paiming");
|
int ranking = score.getIntValue("paiming");
|
||||||
switch (ranking) {
|
switch (ranking) {
|
||||||
case 1:
|
case 1:
|
||||||
ImgLoader.display(mContext, R.mipmap.icon_livepk_no1, imageGrade3);
|
imageGrade3.setImageResource(R.mipmap.icon_livepk_no1);
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
ImgLoader.display(mContext, R.mipmap.icon_livepk_no2, imageGrade3);
|
imageGrade3.setImageResource(R.mipmap.icon_livepk_no2);
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
ImgLoader.display(mContext, R.mipmap.icon_livepk_no3, imageGrade3);
|
imageGrade3.setImageResource(R.mipmap.icon_livepk_no3);
|
||||||
break;
|
break;
|
||||||
case 4:
|
case 4:
|
||||||
ImgLoader.display(mContext, R.mipmap.icon_livepk_no4, imageGrade3);
|
imageGrade3.setImageResource(R.mipmap.icon_livepk_no4);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1913,42 +1913,42 @@ public class LiveSwLinkMicPkPresenter implements View.OnClickListener {
|
|||||||
if (TextUtils.equals(userID, userID1)) {
|
if (TextUtils.equals(userID, userID1)) {
|
||||||
textGrade1.setText(String.valueOf(userScore));
|
textGrade1.setText(String.valueOf(userScore));
|
||||||
if (!score.containsKey("paiming")) {
|
if (!score.containsKey("paiming")) {
|
||||||
ImgLoader.display(mContext, R.mipmap.icon_livepk_no1, imageGrade1);
|
imageGrade1.setImageResource(R.mipmap.icon_livepk_no1);
|
||||||
} else {
|
} else {
|
||||||
int ranking = score.getIntValue("paiming");
|
int ranking = score.getIntValue("paiming");
|
||||||
switch (ranking) {
|
switch (ranking) {
|
||||||
case 1:
|
case 1:
|
||||||
ImgLoader.display(mContext, R.mipmap.icon_livepk_no1, imageGrade1);
|
imageGrade1.setImageResource(R.mipmap.icon_livepk_no1);
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
ImgLoader.display(mContext, R.mipmap.icon_livepk_no2, imageGrade1);
|
imageGrade1.setImageResource(R.mipmap.icon_livepk_no2);
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
ImgLoader.display(mContext, R.mipmap.icon_livepk_no3, imageGrade1);
|
imageGrade1.setImageResource(R.mipmap.icon_livepk_no3);
|
||||||
break;
|
break;
|
||||||
case 4:
|
case 4:
|
||||||
ImgLoader.display(mContext, R.mipmap.icon_livepk_no4, imageGrade1);
|
imageGrade1.setImageResource(R.mipmap.icon_livepk_no4);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (TextUtils.equals(userID, userID2)) {
|
} else if (TextUtils.equals(userID, userID2)) {
|
||||||
textGrade2.setText(String.valueOf(userScore));
|
textGrade2.setText(String.valueOf(userScore));
|
||||||
if (!score.containsKey("paiming")) {
|
if (!score.containsKey("paiming")) {
|
||||||
ImgLoader.display(mContext, R.mipmap.icon_livepk_no1, imageGrade2);
|
imageGrade2.setImageResource(R.mipmap.icon_livepk_no1);
|
||||||
} else {
|
} else {
|
||||||
int ranking = score.getIntValue("paiming");
|
int ranking = score.getIntValue("paiming");
|
||||||
switch (ranking) {
|
switch (ranking) {
|
||||||
case 1:
|
case 1:
|
||||||
ImgLoader.display(mContext, R.mipmap.icon_livepk_no1, imageGrade2);
|
imageGrade2.setImageResource(R.mipmap.icon_livepk_no1);
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
ImgLoader.display(mContext, R.mipmap.icon_livepk_no2, imageGrade2);
|
imageGrade2.setImageResource(R.mipmap.icon_livepk_no2);
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
ImgLoader.display(mContext, R.mipmap.icon_livepk_no3, imageGrade2);
|
imageGrade2.setImageResource(R.mipmap.icon_livepk_no3);
|
||||||
break;
|
break;
|
||||||
case 4:
|
case 4:
|
||||||
ImgLoader.display(mContext, R.mipmap.icon_livepk_no4, imageGrade2);
|
imageGrade2.setImageResource(R.mipmap.icon_livepk_no4);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user