mirror of
https://github.com/alibaba/Tangram-Android.git
synced 2026-10-18 13:50:50 +08:00
Fix bug when data has no type.
This commit is contained in:
+1
-1
@@ -46,7 +46,7 @@ org.gradle.jvmargs=-Xmx1536M
|
||||
GROUP=com.alibaba.android
|
||||
ARTIFACT=tangram
|
||||
VERSION=1
|
||||
VERSION_NAME=3.2.0.16
|
||||
VERSION_NAME=3.2.0.17
|
||||
PACKAGING_TYPE=aar
|
||||
systemProp.compileSdkVersion=26
|
||||
systemProp.targetSdkVersion=26
|
||||
|
||||
+4
@@ -723,6 +723,10 @@ public class PojoDataParser extends DataParser<JSONObject, JSONArray> {
|
||||
cellType = parseCardType(cellData);
|
||||
}
|
||||
|
||||
if (TextUtils.isEmpty(cellType)) {
|
||||
return BaseCell.NaN;
|
||||
}
|
||||
|
||||
if (resolver.resolver().getViewClass(cellType) != null) {
|
||||
cell = new BaseCell(cellType);
|
||||
cell.serviceManager = serviceManager;
|
||||
|
||||
Reference in New Issue
Block a user