拿掉LOG
This commit is contained in:
@@ -94,8 +94,7 @@ class MainActivity : AppCompatActivity() {
|
||||
}
|
||||
}
|
||||
|
||||
private fun reloadVideoViews(list: List<List<Device>>?) = MainScope().launch {
|
||||
val oldListCount = videoPageList.size
|
||||
private fun reloadVideoViews(list: List<List<Device>>?) {
|
||||
for (videoPage in videoPageList) {
|
||||
supportFragmentManager.commit {
|
||||
remove(videoPage)
|
||||
@@ -104,9 +103,6 @@ class MainActivity : AppCompatActivity() {
|
||||
binding.viewPager.removeAllViews()
|
||||
videoPageList.clear()
|
||||
|
||||
if (oldListCount > 0) {
|
||||
delay(500L)
|
||||
}
|
||||
// 如果群組內沒有裝置,則顯示底圖
|
||||
if (list.isNullOrEmpty()) {
|
||||
binding.viewPager.setBackgroundResource(R.drawable.bg_not_in_playing)
|
||||
|
||||
Reference in New Issue
Block a user