[6.7.0]消息盒子不显示内容问题修复
This commit is contained in:
@@ -154,7 +154,7 @@ class MsgBoxTabView @JvmOverloads constructor(
|
||||
|
||||
}
|
||||
|
||||
fun notifyData(){
|
||||
private fun notifyData(){
|
||||
//获取当前Tab选择
|
||||
when(MsgBoxConfig.getUserRecord()){
|
||||
//通知消息
|
||||
@@ -341,4 +341,11 @@ class MsgBoxTabView @JvmOverloads constructor(
|
||||
isShowSummary = inOrder
|
||||
}
|
||||
|
||||
override fun onVisibilityChanged(changedView: View, visibility: Int) {
|
||||
super.onVisibilityChanged(changedView, visibility)
|
||||
if(visibility == View.VISIBLE){
|
||||
notifyData()
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -35,7 +35,9 @@
|
||||
android:visibility="gone"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintBottom_toTopOf="@+id/tabSwitchCarInfo"
|
||||
/>
|
||||
|
||||
<com.mogo.eagle.core.function.hmi.bone.tab.FaultReasonView
|
||||
android:id="@+id/faultReasonView"
|
||||
|
||||
@@ -90,7 +90,6 @@
|
||||
android:layout_marginTop="@dimen/dp_10"
|
||||
android:layout_marginStart="@dimen/dp_66"
|
||||
android:layout_marginEnd="@dimen/dp_66"
|
||||
android:layout_marginBottom="@dimen/dp_216"
|
||||
/>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
Reference in New Issue
Block a user