面数据增加纹理

This commit is contained in:
2023-07-18 10:56:21 +08:00
parent 13089fe6f2
commit 3f173aa86f
10 changed files with 13 additions and 15 deletions

View File

@@ -153,6 +153,9 @@ class ImportOMDBHelper @AssistedInject constructor(
if (list != null) {
// 将list数据转换为map
for ((index, line) in list.withIndex()) {
if (line == null || line.trim() == "") {
continue
}
Log.d("ImportOMDBHelper", "解析第:${index+1}")
val map = gson.fromJson<Map<String, Any>>(line, object:TypeToken<Map<String, Any>>(){}.getType())
.toMutableMap()