Commit a22a1957 authored by shiyl's avatar shiyl

自提点联系人和电话均没有值时,隐藏自提点联系人的title

parent 7dbeeca4
......@@ -5,6 +5,10 @@
<data>
<import
alias="textUtils"
type="android.text.TextUtils" />
<variable
name="vm"
type="com.yidian.shenghuoquan.buserorder.viewmodel.ConfirmOrderViewModel" />
......@@ -130,7 +134,7 @@
android:text="@{@string/pickup_point_contract_person + String.valueOf(vm.selectedPickUpPoint.contactName + vm.selectedPickUpPoint.phone)}"
android:textColor="@color/color_999999"
android:textSize="@dimen/sp14"
app:isShow="@{vm.selectedPickUpPoint.takePlaceName != null}"
app:isShow="@{vm.selectedPickUpPoint.takePlaceName != null &amp;&amp; (!textUtils.isEmpty(vm.selectedPickUpPoint.contactName) || !textUtils.isEmpty(vm.selectedPickUpPoint.phone)) }"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@id/iv_next_arrow"
app:layout_constraintStart_toStartOf="@id/tv_point_name"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment