Commit 67483bde by 霍志良

feat:隐藏重新加载按钮

parent e5fe78a4
...@@ -10,7 +10,7 @@ ext { ...@@ -10,7 +10,7 @@ ext {
"m-fm" : "0.0.30.03", "m-fm" : "0.0.30.03",
"m-user" : "0.0.61.84", "m-user" : "0.0.61.84",
"m-home" : "0.0.22.70", "m-home" : "0.0.22.70",
"m-im" : "0.0.20.60", "m-im" : "0.0.20.61",
"m-dynamic" : "0.0.7.28", "m-dynamic" : "0.0.7.28",
"m-article" : "0.0.0.10", "m-article" : "0.0.0.10",
...@@ -94,7 +94,7 @@ ext { ...@@ -94,7 +94,7 @@ ext {
"m-fm" : "0.0.30.01", "m-fm" : "0.0.30.01",
"m-user" : "0.0.61.84", "m-user" : "0.0.61.84",
"m-home" : "0.0.22.70", "m-home" : "0.0.22.70",
"m-im" : "0.0.20.60", "m-im" : "0.0.20.61",
"m-dynamic" : "0.0.7.28", "m-dynamic" : "0.0.7.28",
"m-article" : "0.0.0.8", "m-article" : "0.0.0.8",
......
...@@ -159,7 +159,9 @@ class MedicalArchivesListActivity : BaseActivity(), SwipeRefreshLayout.OnRefresh ...@@ -159,7 +159,9 @@ class MedicalArchivesListActivity : BaseActivity(), SwipeRefreshLayout.OnRefresh
doctor_swipe_refresh_layout.isRefreshing = false doctor_swipe_refresh_layout.isRefreshing = false
mAdapter.loadMoreFail() mAdapter.loadMoreFail()
var net_error= mEmptyView.findViewById<TextView>(R.id.net_error) var net_error= mEmptyView.findViewById<TextView>(R.id.net_error)
var reLoad= mEmptyView.findViewById<TextView>(R.id.reLoad)
net_error.text="网络异常,请稍后再试" net_error.text="网络异常,请稍后再试"
reLoad.visibility=View.VISIBLE
mAdapter.emptyView = mEmptyView mAdapter.emptyView = mEmptyView
}) })
......
...@@ -40,6 +40,7 @@ ...@@ -40,6 +40,7 @@
android:background="@drawable/medical_bg_3464ec_8dp" android:background="@drawable/medical_bg_3464ec_8dp"
android:textColor="@color/white" android:textColor="@color/white"
android:textSize="14sp" android:textSize="14sp"
android:visibility="gone"
app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent" app:layout_constraintRight_toRightOf="parent"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
......
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