Fix delete wrong code.

This commit is contained in:
MikeAfc
2019-05-22 15:05:37 +08:00
parent 6076188287
commit c0e90825ac
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ org.gradle.jvmargs=-Xmx1536M
GROUP=com.alibaba.android
ARTIFACT=tangram
VERSION=1
VERSION_NAME=3.4.6
VERSION_NAME=3.4.7
PACKAGING_TYPE=aar
systemProp.compileSdkVersion=26
systemProp.targetSdkVersion=26
@@ -183,6 +183,12 @@ public class PojoGroupBasicAdapter extends GroupBasicAdapter<Card, BaseCell> {
stringType = renderType;
}
}
if (!mStrKeys.containsKey(stringType)) {
int newType = mTypeId.getAndIncrement();
mStrKeys.put(stringType, newType);
mId2Types.put(newType, item.stringType);
}
return mStrKeys.get(stringType);
}