mirror of
https://github.com/alibaba/Tangram-Android.git
synced 2026-10-17 05:07:05 +08:00
Remove default set max recycler pool which should be done in vlayout
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.4.5
|
||||
VERSION_NAME=3.4.6
|
||||
PACKAGING_TYPE=aar
|
||||
systemProp.compileSdkVersion=26
|
||||
systemProp.targetSdkVersion=26
|
||||
|
||||
@@ -117,7 +117,7 @@ dependencies {
|
||||
exclude group: 'com.android.support', module: 'support-annotations'
|
||||
}
|
||||
} else {
|
||||
compile('com.alibaba.android:vlayout:1.2.23@aar') {
|
||||
compile('com.alibaba.android:vlayout:1.2.24@aar') {
|
||||
changing = true
|
||||
}
|
||||
}
|
||||
|
||||
-7
@@ -183,13 +183,6 @@ public class PojoGroupBasicAdapter extends GroupBasicAdapter<Card, BaseCell> {
|
||||
stringType = renderType;
|
||||
}
|
||||
}
|
||||
|
||||
if (!mStrKeys.containsKey(stringType) && mLayoutManager.getRecyclerView().getRecycledViewPool() != null) {
|
||||
int newType = mTypeId.getAndIncrement();
|
||||
mStrKeys.put(stringType, newType);
|
||||
mId2Types.put(newType, item.stringType);
|
||||
mLayoutManager.getRecyclerView().getRecycledViewPool().setMaxRecycledViews(newType, 20);
|
||||
}
|
||||
return mStrKeys.get(stringType);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user