Explorar o código

1.优化接口获取完数据后才展示占位图页面

王鹏鹏 %!s(int64=2) %!d(string=hai) anos
pai
achega
6fcfe75bec

+ 4 - 0
workbenches/src/main/java/com/yingyang/workbenches/servicepackage/ServicePackageActivity.kt

@@ -87,6 +87,10 @@ class ServicePackageActivity :
                         getServicePackageList()
                     }
                     servicePackageTypeAdapter.onServicePackageTypeClickListener = {
+                        binding {
+                            rvTrainingPackage.show(true)
+                            emptyLayout.show(false)
+                        }
                         packageType = it.dictValue
                         getServicePackageList()
                     }