mirror of
https://github.com/lizongying/my-tv.git
synced 2026-10-29 23:56:29 +08:00
upgrade player
This commit is contained in:
@@ -175,7 +175,7 @@ class MainActivity : FragmentActivity() {
|
||||
}
|
||||
|
||||
override fun onFling(
|
||||
e1: MotionEvent,
|
||||
e1: MotionEvent?,
|
||||
e2: MotionEvent,
|
||||
velocityX: Float,
|
||||
velocityY: Float
|
||||
|
||||
@@ -128,7 +128,7 @@ class MainFragment : Fragment(), CardAdapter.ItemListener {
|
||||
val title = tvViewModel.title.value
|
||||
Log.i(TAG, "switch $title")
|
||||
if (tvViewModel.pid.value != "") {
|
||||
Log.i(TAG, "request $title ${tvViewModel.pid.value}")
|
||||
Log.i(TAG, "request $title")
|
||||
lifecycleScope.launch(Dispatchers.IO) {
|
||||
tvViewModel.let { request.fetchData(it) }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user