|
@@ -101,7 +101,6 @@ public class AdpGameTaskOrderList extends BaseAdapter {
|
|
|
holder.question_img.setVisibility(View.GONE);
|
|
holder.question_img.setVisibility(View.GONE);
|
|
|
holder.line_view.setVisibility(View.VISIBLE);
|
|
holder.line_view.setVisibility(View.VISIBLE);
|
|
|
holder.pay_tyoe_show_tv.setTextColor(context.getResources().getColor(R.color.red_fd2d54));
|
|
holder.pay_tyoe_show_tv.setTextColor(context.getResources().getColor(R.color.red_fd2d54));
|
|
|
- String stateStr = "";
|
|
|
|
|
switch (gameTaskOrderEnty.getStatus()){
|
|
switch (gameTaskOrderEnty.getStatus()){
|
|
|
case 0:
|
|
case 0:
|
|
|
default:
|
|
default:
|
|
@@ -131,6 +130,7 @@ public class AdpGameTaskOrderList extends BaseAdapter {
|
|
|
holder.order_type_tv.setText("订单状态:已完成");
|
|
holder.order_type_tv.setText("订单状态:已完成");
|
|
|
holder.pay_tyoe_show_tv.setText("支付成功");
|
|
holder.pay_tyoe_show_tv.setText("支付成功");
|
|
|
holder.pay_tyoe_show_tv.setTextColor(context.getResources().getColor(R.color.green_btn_bg));
|
|
holder.pay_tyoe_show_tv.setTextColor(context.getResources().getColor(R.color.green_btn_bg));
|
|
|
|
|
+ showQuestion(holder.question_img, gameTaskOrderEnty);
|
|
|
break;
|
|
break;
|
|
|
case 6://type 1:游戏充值 2腾讯游戏 3小米游戏
|
|
case 6://type 1:游戏充值 2腾讯游戏 3小米游戏
|
|
|
holder.order_type_tv.setText("订单状态:订单失败");
|
|
holder.order_type_tv.setText("订单状态:订单失败");
|
|
@@ -188,7 +188,7 @@ public class AdpGameTaskOrderList extends BaseAdapter {
|
|
|
public void onClick(View v) {
|
|
public void onClick(View v) {
|
|
|
ViewUtil.showMsgDialog(context,
|
|
ViewUtil.showMsgDialog(context,
|
|
|
gameTaskOrderEnty.getRemark(),
|
|
gameTaskOrderEnty.getRemark(),
|
|
|
- "失败原因",
|
|
|
|
|
|
|
+ gameTaskOrderEnty.isSuccess() ? "成功提示" : "失败原因",
|
|
|
false);
|
|
false);
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|