Commit 9b0954049029755743b442d1913b93462fd10b7a

Authored by 陶汉栋
1 parent 3909048b

no message

app/src/main/java/com/shunzhi/parent/ui/fragment/ConsultFragment.java
... ... @@ -174,7 +174,6 @@ public class ConsultFragment extends BaseMVPCompatFragment<ConsultContract.Consu
174 174 }
175 175 }
176 176  
177   -
178 177 private void initBroadCast() {
179 178  
180 179 IntentFilter intentFilter = new IntentFilter();
... ...
app/src/main/java/com/shunzhi/parent/ui/fragment/MineFragment.java
... ... @@ -30,7 +30,7 @@ import com.shunzhi.parent.util.GlideUtils;
30 30  
31 31 public class MineFragment extends BaseMVPCompatFragment<LoginAndRegisterContract.LoginPresenter, LoginAndRegisterContract.ILoginModel>
32 32 implements MineContract.IMineView, View.OnClickListener {
33   - LinearLayout childlayout, personinfo, layout_orderDetail, layout_order, layout_cache, layout_about;
  33 + LinearLayout childlayout, personinfo, layout_orderDetail, layout_order, layout_cache, layout_about,layoutAdvice;
34 34 RoundedImageView user_photo;
35 35 TextView user_name, user_mobile, tvExit, binding_state;
36 36  
... ... @@ -53,6 +53,8 @@ public class MineFragment extends BaseMVPCompatFragment&lt;LoginAndRegisterContract
53 53 layout_orderDetail = view.findViewById(R.id.layout_orderDetail);
54 54 layout_cache = view.findViewById(R.id.layout_cache);
55 55 layout_about = view.findViewById(R.id.layout_about);
  56 + layoutAdvice=view.findViewById(R.id.layoutAdvice);
  57 + layoutAdvice.setOnClickListener(this);
56 58 layout_about.setOnClickListener(this);
57 59 layout_cache.setOnClickListener(this);
58 60 childlayout.setOnClickListener(this);
... ... @@ -123,6 +125,9 @@ public class MineFragment extends BaseMVPCompatFragment&lt;LoginAndRegisterContract
123 125 case R.id.layout_about:
124 126 WebViewActivity.getInstance(getActivity(),AppConfig.BASE_URL_ORDER+"About.html",-1);
125 127 break;
  128 + case R.id.layoutAdvice:
  129 + WebViewActivity.getInstance(getActivity(),AppConfig.BASE_URL_ORDER+"FeedBack.aspx?userid="+AppConfig.getAppConfig(getContext()).get(AppConfig.USER_ID),-1);
  130 + break;
126 131 default:
127 132 break;
128 133 }
... ...
app/src/main/res/layout/fragment_mine.xml
... ... @@ -239,6 +239,7 @@
239 239 android:orientation="vertical">
240 240  
241 241 <LinearLayout
  242 + android:id="@+id/layoutAdvice"
242 243 android:layout_width="match_parent"
243 244 android:gravity="center_vertical"
244 245 android:layout_height="?android:actionBarSize">
... ...