|
|
@@ -14,6 +14,7 @@ import com.sheep.gamegroup.util.DataUtil;
|
|
|
import com.sheep.gamegroup.util.DeviceUtil;
|
|
|
import com.sheep.gamegroup.util.LocationUtils;
|
|
|
import com.sheep.gamegroup.util.LogUtil;
|
|
|
+import com.sheep.gamegroup.util.RxjavaCountDownTimer;
|
|
|
import com.sheep.gamegroup.util.UMConfigUtils;
|
|
|
import com.sheep.gamegroup.util.ViewUtil;
|
|
|
import com.sheep.jiuyan.samllsheep.BuildConfig;
|
|
|
@@ -34,6 +35,8 @@ public abstract class FgtVideoTaskBase extends BaseFragment {
|
|
|
protected TaskAcceptedEty acceptedTask;
|
|
|
protected int watchCount = 0;
|
|
|
|
|
|
+ protected boolean goNext = false;
|
|
|
+
|
|
|
public FgtVideoTaskBase setReleaseTaskId(int taskId) {
|
|
|
releaseTaskId = taskId;
|
|
|
return this;
|
|
|
@@ -216,6 +219,15 @@ public abstract class FgtVideoTaskBase extends BaseFragment {
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
+ public void onResume(){
|
|
|
+ super.onResume();
|
|
|
+ if(goNext){
|
|
|
+ goNext = false;
|
|
|
+ handleNext();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
public void onViewCreated() {
|
|
|
initView();
|
|
|
initData();
|