mirror of
https://github.com/lizongying/my-tv.git
synced 2026-11-13 23:16:30 +08:00
opitimize request
This commit is contained in:
@@ -93,7 +93,7 @@ class PlayerFragment : Fragment(), SurfaceHolder.Callback {
|
||||
})
|
||||
}
|
||||
})
|
||||
(activity as MainActivity).fragmentReady("PlayerFragment")
|
||||
(activity as MainActivity).fragmentReady(TAG)
|
||||
return _binding!!.root
|
||||
}
|
||||
|
||||
@@ -154,7 +154,7 @@ class PlayerFragment : Fragment(), SurfaceHolder.Callback {
|
||||
}
|
||||
|
||||
companion object {
|
||||
private const val TAG = "PlaybackVideoFragment"
|
||||
private const val TAG = "PlayerFragment"
|
||||
}
|
||||
|
||||
override fun surfaceCreated(holder: SurfaceHolder) {
|
||||
|
||||
Reference in New Issue
Block a user