1、修复消息中心点击无反应的问题
2、优化UI
This commit is contained in:
parent
cd4d0c13c1
commit
68f444b3fc
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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");
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
|
@ -205,16 +205,17 @@
|
||||
</androidx.cardview.widget.CardView>
|
||||
|
||||
|
||||
<ScrollView
|
||||
<androidx.core.widget.NestedScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginTop="25dp"
|
||||
android:scrollbars="none"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/rt_setting">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingBottom="30dp"
|
||||
>
|
||||
|
||||
@ -470,11 +471,16 @@
|
||||
app:indicator_width="8dp" />
|
||||
</androidx.cardview.widget.CardView>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/lt_advertisement"
|
||||
android:layout_height="100dp"/>
|
||||
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
|
||||
</ScrollView>
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
Loading…
Reference in New Issue
Block a user