Commit f9d17f1bbad4f6fb3402607ff4e0b817cdcfc57b
1 parent
57dfbdb6
Exists in
yxb_dev
and in
2 other branches
no message
Showing
1 changed file
with
2 additions
and
5 deletions
 
Show diff stats
app/src/main/java/com/shunzhi/parent/ui/fragment/StartFragment.java
| ... | ... | @@ -3,14 +3,11 @@ package com.shunzhi.parent.ui.fragment; | 
| 3 | 3 | import android.os.Bundle; | 
| 4 | 4 | import android.support.annotation.NonNull; | 
| 5 | 5 | import android.support.annotation.Nullable; | 
| 6 | -import android.support.v4.view.ViewPager; | |
| 7 | 6 | import android.text.TextUtils; | 
| 8 | -import android.util.Log; | |
| 9 | 7 | import android.view.View; | 
| 10 | 8 | import android.widget.ImageView; | 
| 11 | 9 | import android.widget.TextView; | 
| 12 | 10 | |
| 13 | -import com.bumptech.glide.Glide; | |
| 14 | 11 | import com.share.mvpsdk.base.BasePresenter; | 
| 15 | 12 | import com.share.mvpsdk.base.fragment.BaseMVPCompatFragment; | 
| 16 | 13 | import com.shunzhi.parent.AppConfig; | 
| ... | ... | @@ -47,9 +44,9 @@ public class StartFragment extends BaseMVPCompatFragment<ConsultContract.Consult | 
| 47 | 44 | tvJump=view.findViewById(R.id.tvJump); | 
| 48 | 45 | |
| 49 | 46 | if (!TextUtils.isEmpty(AppConfig.getAppConfig(getContext()).get(AppConfig.APP_IS_START))) { | 
| 50 | - mPresenter.getBanners("0", "余杭区"); | |
| 47 | + mPresenter.getBanners("0", AppContext.getInstance().district); | |
| 51 | 48 | AppConfig.getAppConfig(getContext()).set(AppConfig.APP_IS_START, "1"); | 
| 52 | - } else mPresenter.getBanners("1","余杭区"); | |
| 49 | + } else mPresenter.getBanners("1",AppContext.getInstance().district); | |
| 53 | 50 | |
| 54 | 51 | |
| 55 | 52 | tvJump.setOnClickListener(new View.OnClickListener() { | ... | ... |