|
|
@@ -11,7 +11,6 @@ import android.view.View;
|
|
|
import android.view.ViewGroup;
|
|
|
|
|
|
import com.alibaba.fastjson.JSONArray;
|
|
|
-import com.alibaba.fastjson.JSONObject;
|
|
|
import com.kfzs.duanduan.event.BigEvent;
|
|
|
import com.sheep.gamegroup.di.components.DaggerFgtTryMakeMoneyComponent;
|
|
|
import com.sheep.gamegroup.di.modules.TryMakeMoneyModule;
|
|
|
@@ -31,7 +30,6 @@ import com.sheep.jiuyan.samllsheep.R;
|
|
|
import com.sheep.jiuyan.samllsheep.SheepApp;
|
|
|
import com.sheep.jiuyan.samllsheep.base.BaseFragment;
|
|
|
import com.sheep.jiuyan.samllsheep.utils.G;
|
|
|
-import com.sheep.jiuyan.samllsheep.utils.TitleBarUtils;
|
|
|
|
|
|
import org.greenrobot.eventbus.EventBus;
|
|
|
import org.greenrobot.eventbus.Subscribe;
|
|
|
@@ -42,8 +40,6 @@ import java.util.List;
|
|
|
import javax.inject.Inject;
|
|
|
|
|
|
import butterknife.BindView;
|
|
|
-import butterknife.ButterKnife;
|
|
|
-import butterknife.Unbinder;
|
|
|
|
|
|
/**
|
|
|
* 试玩赚钱
|
|
|
@@ -57,7 +53,6 @@ public class FgtTryMakeMoney extends BaseFragment implements TryMakeMoneyContrac
|
|
|
SwipeRefreshLayout refresh;
|
|
|
@BindView(R.id.empty_view)
|
|
|
View empty_view;
|
|
|
- Unbinder unbinder;
|
|
|
|
|
|
@Inject
|
|
|
TryMakeMoneyPresenter presenter;
|
|
|
@@ -93,7 +88,6 @@ public class FgtTryMakeMoney extends BaseFragment implements TryMakeMoneyContrac
|
|
|
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
|
|
|
// TODO: inflate a fragment view
|
|
|
View rootView = super.onCreateView(inflater, container, savedInstanceState);
|
|
|
- unbinder = ButterKnife.bind(this, rootView);
|
|
|
Bundle bundle = getArguments();
|
|
|
if(bundle != null){
|
|
|
type = bundle.getInt("type", 0);
|
|
|
@@ -200,8 +194,6 @@ public class FgtTryMakeMoney extends BaseFragment implements TryMakeMoneyContrac
|
|
|
@Override
|
|
|
public void onDestroyView() {
|
|
|
super.onDestroyView();
|
|
|
- unbinder.unbind();
|
|
|
-
|
|
|
EventBus.getDefault().unregister(this);
|
|
|
}
|
|
|
|