|
@@ -2,6 +2,7 @@ package com.sheep.gamegroup.view.adapter;
|
|
|
|
|
|
|
|
import android.app.Activity;
|
|
import android.app.Activity;
|
|
|
import android.content.Context;
|
|
import android.content.Context;
|
|
|
|
|
+import android.content.Intent;
|
|
|
import android.view.LayoutInflater;
|
|
import android.view.LayoutInflater;
|
|
|
import android.view.View;
|
|
import android.view.View;
|
|
|
import android.view.ViewGroup;
|
|
import android.view.ViewGroup;
|
|
@@ -18,6 +19,7 @@ import com.sheep.gamegroup.util.DataUtil;
|
|
|
import com.sheep.gamegroup.util.Jump2View;
|
|
import com.sheep.gamegroup.util.Jump2View;
|
|
|
import com.sheep.gamegroup.util.LogUtil;
|
|
import com.sheep.gamegroup.util.LogUtil;
|
|
|
import com.sheep.gamegroup.util.TestUtil;
|
|
import com.sheep.gamegroup.util.TestUtil;
|
|
|
|
|
+import com.sheep.gamegroup.view.activity.ActMain;
|
|
|
import com.sheep.jiuyan.samllsheep.BuildConfig;
|
|
import com.sheep.jiuyan.samllsheep.BuildConfig;
|
|
|
import com.sheep.jiuyan.samllsheep.R;
|
|
import com.sheep.jiuyan.samllsheep.R;
|
|
|
import com.sheep.jiuyan.samllsheep.utils.G;
|
|
import com.sheep.jiuyan.samllsheep.utils.G;
|
|
@@ -128,7 +130,9 @@ public class NewbieTaskAdp extends BaseAdapter {
|
|
|
Jump2View.getInstance().tryGoWithdrawal(context, null);
|
|
Jump2View.getInstance().tryGoWithdrawal(context, null);
|
|
|
break;
|
|
break;
|
|
|
case 3://成功邀请好友
|
|
case 3://成功邀请好友
|
|
|
- Jump2View.getInstance().goAskGetMoney(context, null);
|
|
|
|
|
|
|
+ Intent intent = new Intent(context, ActMain.class);
|
|
|
|
|
+ intent.putExtra("SWITCH_TAB", 1);
|
|
|
|
|
+ context.startActivity(intent);
|
|
|
break;
|
|
break;
|
|
|
case 4://首次完成任务
|
|
case 4://首次完成任务
|
|
|
Jump2View.getInstance().goTryplayView(context, null);
|
|
Jump2View.getInstance().goTryplayView(context, null);
|
|
@@ -138,7 +142,7 @@ public class NewbieTaskAdp extends BaseAdapter {
|
|
|
G.showToast("测试:服务器返回数据错误,这个奖励可能没有完成?");
|
|
G.showToast("测试:服务器返回数据错误,这个奖励可能没有完成?");
|
|
|
}
|
|
}
|
|
|
// if(TestUtil.isLTVersion3_4_5())//3.4.5以前版本才调用下面的方法
|
|
// if(TestUtil.isLTVersion3_4_5())//3.4.5以前版本才调用下面的方法
|
|
|
- isShow(context);
|
|
|
|
|
|
|
+ isShow(context);
|
|
|
break;
|
|
break;
|
|
|
case 6://加入官方QQ群
|
|
case 6://加入官方QQ群
|
|
|
doActionByTaskQQ(context, task);
|
|
doActionByTaskQQ(context, task);
|