|
|
@@ -6,9 +6,7 @@
|
|
|
|
|
|
<data>
|
|
|
|
|
|
- <variable
|
|
|
- name="data"
|
|
|
- type="com.yingyangfly.baselib.bean.UserInfoBean" />
|
|
|
+ <import type="com.yingyangfly.baselib.utils.User" />
|
|
|
</data>
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
@@ -63,7 +61,7 @@
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginStart="@dimen/divider_38px"
|
|
|
android:layout_marginTop="@dimen/divider_33px"
|
|
|
- android:text='@{"姓名:"+data.name}'
|
|
|
+ android:text='@{"姓名:"+User.INSTANCE.name}'
|
|
|
android:textColor="@color/color_FF333333"
|
|
|
android:textSize="@dimen/divider_24px"
|
|
|
android:textStyle="bold"
|
|
|
@@ -78,7 +76,7 @@
|
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginTop="@dimen/divider_33px"
|
|
|
- android:text='@{"性别:"+data.getSex()}'
|
|
|
+ android:text='@{"性别:"+User.INSTANCE.userSex}'
|
|
|
android:textColor="@color/color_FF333333"
|
|
|
android:textSize="@dimen/divider_24px"
|
|
|
android:textStyle="bold"
|
|
|
@@ -93,7 +91,7 @@
|
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginTop="@dimen/divider_33px"
|
|
|
- android:text='@{"年龄:"+data.getAgeInfo()}'
|
|
|
+ android:text='@{"年龄:"+User.INSTANCE.userAge}'
|
|
|
android:textColor="@color/color_FF333333"
|
|
|
android:textSize="@dimen/divider_24px"
|
|
|
android:textStyle="bold"
|
|
|
@@ -109,7 +107,7 @@
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginTop="@dimen/divider_33px"
|
|
|
android:layout_marginEnd="@dimen/divider_37px"
|
|
|
- android:text='@{"编号:"+data.id}'
|
|
|
+ android:text='@{"编号:"+User.INSTANCE.userId}'
|
|
|
android:textColor="@color/color_FF333333"
|
|
|
android:textSize="@dimen/divider_24px"
|
|
|
android:textStyle="bold"
|