「Update」

1、修复TextView 没有写内容的时候导致的崩溃异常
This commit is contained in:
donghongyu
2024-10-12 17:08:22 +08:00
parent 472e8b8ccf
commit 090ff23670
14 changed files with 117 additions and 19 deletions

View File

@@ -79,7 +79,7 @@ public class SkinAttribute {
if (isNumeric(attributeValue.substring(1))) {
resId = Integer.parseInt(attributeValue.substring(1));
}
} catch (NumberFormatException e) {
} catch (Exception e) {
// 由于有时候TextView会直接配置文字而不是用 @string/XXX 所以会导致这里转换异常,车里简单的处理异常跳过即可
//e.printStackTrace();
}