mirror of
https://github.com/lizongying/my-tv.git
synced 2026-10-26 14:16:29 +08:00
upgrade player
This commit is contained in:
@@ -106,6 +106,8 @@ adb install my-tv.apk
|
|||||||
* 凤凰卫视、凤凰资讯台
|
* 凤凰卫视、凤凰资讯台
|
||||||
* 海外
|
* 海外
|
||||||
* 1.5.0 无法安装,1.5.1 可以安装
|
* 1.5.0 无法安装,1.5.1 可以安装
|
||||||
|
* 获取系统时间
|
||||||
|
* 选中的图标比例能否相差更大
|
||||||
|
|
||||||
## 赞赏
|
## 赞赏
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -5,7 +5,7 @@ plugins {
|
|||||||
|
|
||||||
android {
|
android {
|
||||||
namespace 'com.lizongying.mytv'
|
namespace 'com.lizongying.mytv'
|
||||||
compileSdk 33
|
compileSdk 34
|
||||||
|
|
||||||
viewBinding {
|
viewBinding {
|
||||||
enabled = true
|
enabled = true
|
||||||
@@ -90,7 +90,7 @@ static def VersionName() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
def media3_version = "1.1.1"
|
def media3_version = "1.2.1"
|
||||||
|
|
||||||
implementation "androidx.media3:media3-ui:$media3_version"
|
implementation "androidx.media3:media3-ui:$media3_version"
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -175,7 +175,7 @@ class MainActivity : FragmentActivity() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
override fun onFling(
|
override fun onFling(
|
||||||
e1: MotionEvent,
|
e1: MotionEvent?,
|
||||||
e2: MotionEvent,
|
e2: MotionEvent,
|
||||||
velocityX: Float,
|
velocityX: Float,
|
||||||
velocityY: Float
|
velocityY: Float
|
||||||
|
|||||||
@@ -128,7 +128,7 @@ class MainFragment : Fragment(), CardAdapter.ItemListener {
|
|||||||
val title = tvViewModel.title.value
|
val title = tvViewModel.title.value
|
||||||
Log.i(TAG, "switch $title")
|
Log.i(TAG, "switch $title")
|
||||||
if (tvViewModel.pid.value != "") {
|
if (tvViewModel.pid.value != "") {
|
||||||
Log.i(TAG, "request $title ${tvViewModel.pid.value}")
|
Log.i(TAG, "request $title")
|
||||||
lifecycleScope.launch(Dispatchers.IO) {
|
lifecycleScope.launch(Dispatchers.IO) {
|
||||||
tvViewModel.let { request.fetchData(it) }
|
tvViewModel.let { request.fetchData(it) }
|
||||||
}
|
}
|
||||||
|
|||||||
+3
-3
@@ -1,6 +1,6 @@
|
|||||||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||||
plugins {
|
plugins {
|
||||||
id 'com.android.application' version '8.2.1' apply false
|
id 'com.android.application' version '8.2.2' apply false
|
||||||
id 'com.android.library' version '8.2.1' apply false
|
id 'com.android.library' version '8.2.2' apply false
|
||||||
id 'org.jetbrains.kotlin.android' version '1.9.21' apply false
|
id 'org.jetbrains.kotlin.android' version '1.9.22' apply false
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user