Browse Source

1.默认隐藏列表布局防止用户误触。

20241218TB223FC(测试jar包)
wangwanlei 8 months ago
parent
commit
d4cfc20701

+ 1
- 0
app/src/main/java/com/xhly/manageapp/ui/main/activity/MainActivity.kt View File

@@ -283,6 +283,7 @@ class MainActivity : BaseActivity<MainViewModel, ActivityMainBinding>(),Download
283 283
         viewModel.schoolSetData.observe(this) {
284 284
             spUtils.saveJson(Const.SCHOOLSETDEVICE, it)
285 285
             initSchoolSet(it)
286
+            mBinding.rv.visibility=View.VISIBLE
286 287
             updateAppRv()
287 288
         }
288 289
         viewModel.wallpaperData.observe(this) {

+ 1
- 0
app/src/main/res/layout/activity_main.xml View File

@@ -78,6 +78,7 @@
78 78
 
79 79
             <androidx.recyclerview.widget.RecyclerView
80 80
                 android:id="@+id/rv"
81
+                android:visibility="invisible"
81 82
                 android:layout_width="match_parent"
82 83
                 android:layout_height="match_parent"
83 84
                 android:layout_marginTop="24dp"

Loading…
Cancel
Save