|
@@ -15,6 +15,8 @@ import com.sheep.gamegroup.absBase.AbsObserver;
|
|
|
import com.sheep.gamegroup.absBase.BaseActivity;
|
|
import com.sheep.gamegroup.absBase.BaseActivity;
|
|
|
import com.sheep.gamegroup.absBase.IHomePageSearch;
|
|
import com.sheep.gamegroup.absBase.IHomePageSearch;
|
|
|
import com.sheep.gamegroup.absBase.IJumpWeb;
|
|
import com.sheep.gamegroup.absBase.IJumpWeb;
|
|
|
|
|
+import com.sheep.gamegroup.event.BigEvent;
|
|
|
|
|
+import com.sheep.gamegroup.event.EventTypes;
|
|
|
import com.sheep.gamegroup.greendao.DDProviderHelper;
|
|
import com.sheep.gamegroup.greendao.DDProviderHelper;
|
|
|
import com.sheep.gamegroup.greendao.download.DownLoadInfo;
|
|
import com.sheep.gamegroup.greendao.download.DownLoadInfo;
|
|
|
import com.sheep.gamegroup.greendao.download.SdkLoginUser;
|
|
import com.sheep.gamegroup.greendao.download.SdkLoginUser;
|
|
@@ -62,6 +64,7 @@ import com.sheep.gamegroup.module.game.activity.ActGameGroupOrGameDetail;
|
|
|
import com.sheep.gamegroup.module.game.activity.ActGameRank;
|
|
import com.sheep.gamegroup.module.game.activity.ActGameRank;
|
|
|
import com.sheep.gamegroup.module.game.activity.ActGitBagList;
|
|
import com.sheep.gamegroup.module.game.activity.ActGitBagList;
|
|
|
import com.sheep.gamegroup.module.game.activity.ActMyGameList;
|
|
import com.sheep.gamegroup.module.game.activity.ActMyGameList;
|
|
|
|
|
+import com.sheep.gamegroup.module.guide.NewbieGuideHelper;
|
|
|
import com.sheep.gamegroup.module.qrcode.FaceWithQRActivity;
|
|
import com.sheep.gamegroup.module.qrcode.FaceWithQRActivity;
|
|
|
import com.sheep.gamegroup.module.search.ActSearch;
|
|
import com.sheep.gamegroup.module.search.ActSearch;
|
|
|
import com.sheep.gamegroup.module.game.activity.ActWelfareSpecialArea;
|
|
import com.sheep.gamegroup.module.game.activity.ActWelfareSpecialArea;
|
|
@@ -1672,6 +1675,8 @@ public class Jump2View {
|
|
|
CommonUtil.getInstance().callActionWithUserInfo(userEntity ->
|
|
CommonUtil.getInstance().callActionWithUserInfo(userEntity ->
|
|
|
Observable.create((ObservableOnSubscribe<Object>) emitter -> {
|
|
Observable.create((ObservableOnSubscribe<Object>) emitter -> {
|
|
|
if (userEntity.alreadyFinishAllNewTask()) {//已经完成所有新手任务
|
|
if (userEntity.alreadyFinishAllNewTask()) {//已经完成所有新手任务
|
|
|
|
|
+ //关闭新手引导
|
|
|
|
|
+ new NewbieGuideHelper(activity).disableAll();
|
|
|
//没有兑换过优惠券时,显示商城优惠券
|
|
//没有兑换过优惠券时,显示商城优惠券
|
|
|
SheepApp.getInstance().getNetComponent().getApiService().getYfShopReceiveCouponsCheck(ReceiveCouponsResp.TYPE_NEW_TASK)
|
|
SheepApp.getInstance().getNetComponent().getApiService().getYfShopReceiveCouponsCheck(ReceiveCouponsResp.TYPE_NEW_TASK)
|
|
|
.subscribeOn(Schedulers.io())
|
|
.subscribeOn(Schedulers.io())
|
|
@@ -1715,6 +1720,7 @@ public class Jump2View {
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
|
public void onError(BaseMessage baseMessage) {
|
|
public void onError(BaseMessage baseMessage) {
|
|
|
|
|
+ EventBus.getDefault().post(BigEvent.get().setEventTypes(EventTypes.GUIDE_NEXT));
|
|
|
tryShowYfShopAskDialog(activity);
|
|
tryShowYfShopAskDialog(activity);
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|