diff --git a/main/src/main/java/com/yunbao/main/views/MainMeViewHolder.java b/main/src/main/java/com/yunbao/main/views/MainMeViewHolder.java index d037e64b5..6b040df13 100644 --- a/main/src/main/java/com/yunbao/main/views/MainMeViewHolder.java +++ b/main/src/main/java/com/yunbao/main/views/MainMeViewHolder.java @@ -416,6 +416,10 @@ public class MainMeViewHolder extends AbsMainViewHolder implements OnItemClickLi forwardRoomManage(); break; case 26: + // 幫助與反饋 + WebViewActivityMedal.forward(mContext, url); + break; + case 17: RouteUtil.forwardActivity(RouteUtil.PATH_FEEDBACK_ACTIVITY); break; @@ -466,9 +470,12 @@ public class MainMeViewHolder extends AbsMainViewHolder implements OnItemClickLi if (bean.getId() == 24) { MobclickAgent.onEvent(mContext, "my_pack", "个人中心点包裹"); } - if (bean.getId() == 17 || bean.getId() == 26) { + if (bean.getId() == 17) { RouteUtil.forwardActivity(RouteUtil.PATH_FEEDBACK_ACTIVITY); - } else + }else if (bean.getId() == 26){ + // 幫助與反饋 + WebViewActivityMedal.forward(mContext, url); + }else WebViewActivity.forward(mContext, url, false); } diff --git a/main/src/main/java/com/yunbao/main/views/MainMessageViewHolderForActivity.java b/main/src/main/java/com/yunbao/main/views/MainMessageViewHolderForActivity.java index df5f43ac2..e1b389c28 100644 --- a/main/src/main/java/com/yunbao/main/views/MainMessageViewHolderForActivity.java +++ b/main/src/main/java/com/yunbao/main/views/MainMessageViewHolderForActivity.java @@ -89,6 +89,8 @@ public class MainMessageViewHolderForActivity extends AbsMainViewHolder { public MainMessageViewHolderForActivity(Activity context, ViewGroup parentView) { super(context, parentView); mContext = context; + initData(); + } @Override @@ -99,7 +101,7 @@ public class MainMessageViewHolderForActivity extends AbsMainViewHolder { @Override public void onResume() { super.onResume(); - initData(); +// initData(); } @Override @@ -346,6 +348,12 @@ public class MainMessageViewHolderForActivity extends AbsMainViewHolder { } } + + @Override + public void onError() { + super.onError(); + Log.e("MessageTest","onError"); + } }); } }; diff --git a/main/src/main/res/layout/view_new_main_me.xml b/main/src/main/res/layout/view_new_main_me.xml index 476f58dd0..aca5c0dcd 100644 --- a/main/src/main/res/layout/view_new_main_me.xml +++ b/main/src/main/res/layout/view_new_main_me.xml @@ -205,16 +205,17 @@ - @@ -470,11 +471,16 @@ app:indicator_width="8dp" /> + + - + \ No newline at end of file