1. 在 MqttService 中新增 update_products 指令處理,支援遠端觸發商品資料同步。 2. 優化 ImageGlide 邏輯,移除從網路載入圖片時的淡化濾鏡,確保圖片即時顯示原色。 3. 改進 ProductListActivity 的圖片預載機制,支援逐張商品即時刷新 UI 提升互動感。 4. 更新 .gitignore 以排除 .idea 目錄及 Agent 產生的規劃檔案。 5. 配合環境調整 Gradle 配置與 SDK 路徑。
41 lines
1.9 KiB
TOML
41 lines
1.9 KiB
TOML
[versions]
|
|
agp = "8.13.2"
|
|
junit = "4.13.2"
|
|
junitVersion = "1.2.1"
|
|
espressoCore = "3.6.1"
|
|
appcompat = "1.7.0"
|
|
material = "1.12.0"
|
|
activity = "1.10.0"
|
|
constraintlayout = "2.2.0"
|
|
|
|
usb-serial-for-android = '3.8.1'
|
|
android-serialport = '2.1.5'
|
|
glide = '4.12.0'
|
|
compiler = '4.12.0'
|
|
media3-exoplayer = '1.5.1'
|
|
media3-ui = '1.5.1'
|
|
workRuntime = "2.10.0"
|
|
tsnackBar = "V2.0.0"
|
|
|
|
[libraries]
|
|
junit = { group = "junit", name = "junit", version.ref = "junit" }
|
|
ext-junit = { group = "androidx.test.ext", name = "junit", version.ref = "junitVersion" }
|
|
espresso-core = { group = "androidx.test.espresso", name = "espresso-core", version.ref = "espressoCore" }
|
|
appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "appcompat" }
|
|
material = { group = "com.google.android.material", name = "material", version.ref = "material" }
|
|
activity = { group = "androidx.activity", name = "activity", version.ref = "activity" }
|
|
constraintlayout = { group = "androidx.constraintlayout", name = "constraintlayout", version.ref = "constraintlayout" }
|
|
|
|
usb-serial-for-android = { group = "com.github.mik3y", name = "usb-serial-for-android", version.ref = "usb-serial-for-android" }
|
|
android-serialport = { group = "com.licheedev", name = "android-serialport", version.ref = "android-serialport" }
|
|
glide = { group = "com.github.bumptech.glide", name = "glide", version.ref = "glide" }
|
|
compiler = { group = "com.github.bumptech.glide", name = "compiler", version.ref = "compiler" }
|
|
media3-exoplayer = {group = "androidx.media3", name = "media3-exoplayer", version.ref = "media3-exoplayer" }
|
|
media3-ui = {group = "androidx.media3", name = "media3-ui", version.ref = "media3-ui" }
|
|
work-runtime = { group = "androidx.work", name = "work-runtime", version.ref = "workRuntime" }
|
|
tsnackBar = { group = "com.github.Redman1037", name = "TSnackBar", version.ref = "tsnackBar" }
|
|
|
|
[plugins]
|
|
android-application = { id = "com.android.application", version.ref = "agp" }
|
|
|