upgrade player

This commit is contained in:
Li ZongYing
2024-02-04 22:23:28 +08:00
parent 44ab3a6669
commit 6c16408b90
7 changed files with 9 additions and 7 deletions
@@ -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) }
}