zengjiebin лет назад: 8
Родитель
Сommit
247ca6b161

+ 5 - 1
app/src/main/java/com/sheep/gamegroup/view/activity/TaskDetailCreditCardAct.java

@@ -28,6 +28,7 @@ import com.sheep.gamegroup.model.util.EntityUtils;
 import com.sheep.gamegroup.model.util.SheepSubscriber;
 import com.sheep.gamegroup.util.DeviceUtil;
 import com.sheep.gamegroup.util.Jump2View;
+import com.sheep.gamegroup.util.MyListview;
 import com.sheep.gamegroup.util.TimeUtil;
 import com.sheep.gamegroup.util.UMConfigUtils;
 import com.sheep.jiuyan.samllsheep.BuildConfig;
@@ -74,6 +75,8 @@ public class TaskDetailCreditCardAct extends AbsChooseImageActivity {
     TextView btnUpImag;
     @BindView(R.id.bottom_btn_layout)
     LinearLayout bottom_btn_layout;
+    @BindView(R.id.detail_task_listview)
+    MyListview detail_task_listview;
     private Activity activity;
 
     private TaskEty taskEty;
@@ -150,6 +153,7 @@ public class TaskDetailCreditCardAct extends AbsChooseImageActivity {
             bottom_btn_layout.setVisibility(View.VISIBLE);
 
         }
+        detail_task_listview.setVisibility(View.GONE);
         if (taskEty.getTask_type() == 2) {
             btnTaskItem.setText("信用卡注册");
         } else if (PackageUtil.isAppInstalled(SheepApp.mContext, taskEty.getPackage_names())) {
@@ -284,7 +288,7 @@ public class TaskDetailCreditCardAct extends AbsChooseImageActivity {
         if (taskEty != null && taskReleaseEty != null && taskReleaseEty.getAccepted_task_id() != 0) {
             llInfos.addView(getStep("领取任务", "已完成", 0));
             if (taskEty.getTask_type() == 2) {//信用卡
-                llInfos.addView(getStep("信用卡注册", "待完成", 0));
+                llInfos.addView(getStep("信用卡注册", "待完成", 2 ));
             } else if (PackageUtil.isAppInstalled(SheepApp.mContext, taskEty.getPackage_names())) {
                 llInfos.addView(getStep("下载游戏", "已完成", 0));
                 llInfos.addView(getStep("完成任务", "进行中", 1));