加入重連機制
This commit is contained in:
parent
ac15111ab3
commit
a29f0e7bbf
@ -129,13 +129,13 @@ class SplitViewFragment : Fragment() {
|
|||||||
for (position in videoViews.indices) {
|
for (position in videoViews.indices) {
|
||||||
videoViews[position].setOnClickListener {
|
videoViews[position].setOnClickListener {
|
||||||
if (position >= data.size) return@setOnClickListener
|
if (position >= data.size) return@setOnClickListener
|
||||||
/*if (!videoViews[position].isPlaying) {
|
if (!videoViews[position].isPlaying) {
|
||||||
if (!videoViews[position].isLoading) {
|
if (!videoViews[position].isLoading) {
|
||||||
videoViews[position].play()
|
videoViews[position].play()
|
||||||
}
|
}
|
||||||
return@setSafeOnClickListener
|
return@setOnClickListener
|
||||||
}
|
}
|
||||||
stopAll()
|
/*stopAll()
|
||||||
val item = data[position]
|
val item = data[position]
|
||||||
val bundle = Bundle().apply {
|
val bundle = Bundle().apply {
|
||||||
putInt(MonitoringActivity.BUNDLE_DEVICE_ID, item.id)
|
putInt(MonitoringActivity.BUNDLE_DEVICE_ID, item.id)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user