|
|
@@ -35,6 +35,7 @@ import com.sheep.gamegroup.presenter.TryMakeMoneyPresenter;
|
|
|
import com.sheep.gamegroup.util.CommonUtil;
|
|
|
import com.sheep.gamegroup.util.DataUtil;
|
|
|
import com.sheep.gamegroup.util.ListUtil;
|
|
|
+import com.sheep.gamegroup.util.LogUtil;
|
|
|
import com.sheep.gamegroup.util.RefreshUtil;
|
|
|
import com.sheep.gamegroup.util.ViewUtil;
|
|
|
import com.sheep.gamegroup.view.activity.GamemakeMoneyAct;
|
|
|
@@ -227,8 +228,8 @@ public class FgtTryMakeMoney extends BaseFragment implements TryMakeMoneyContrac
|
|
|
public void onViewCreated() {
|
|
|
activity = getActivity();
|
|
|
initView();
|
|
|
- initData();
|
|
|
initListener();
|
|
|
+// initData();
|
|
|
}
|
|
|
|
|
|
private String task_type = "-1";
|
|
|
@@ -365,13 +366,14 @@ public class FgtTryMakeMoney extends BaseFragment implements TryMakeMoneyContrac
|
|
|
private boolean isGetReleaseBegin = false;
|
|
|
|
|
|
public void mInitData() {
|
|
|
+ LogUtil.println("mInitData");
|
|
|
if (!acceptedEtyList.isEmpty()) {
|
|
|
acceptedEtyList.clear();
|
|
|
notifyDataSetChanged();
|
|
|
}
|
|
|
CommonUtil.getInstance().resetEmptyView(empty_view);
|
|
|
if (isFirstCache) {
|
|
|
- //注释掉获取缓存的正在进行的任务
|
|
|
+ //获取缓存的正在进行的任务
|
|
|
List<TaskAcceptedEty> cacheTaskAcceptedEtyList;
|
|
|
if (isGameTask) {
|
|
|
cacheTaskAcceptedEtyList = DataUtil.getInstance().getCacheList(ApiKey.run_game_task, TaskAcceptedEty.class);
|