mirror of
https://github.com/alibaba/vlayout.git
synced 2026-10-17 05:07:37 +08:00
FIx view lifecycle of sticky layout helper.
This commit is contained in:
+4
-4
@@ -44,9 +44,9 @@
|
||||
GROUP=com.alibaba.android
|
||||
ARTIFACT=vlayout
|
||||
VERSION=1
|
||||
VERSION_NAME=1.2.22
|
||||
VERSION_NAME=1.2.23
|
||||
PACKAGING_TYPE=aar
|
||||
useNewSupportLibrary=true
|
||||
systemProp.compileSdkVersion=25
|
||||
systemProp.targetSdkVersion=25
|
||||
systemProp.buildToolsVersion=25.0.3
|
||||
systemProp.compileSdkVersion=26
|
||||
systemProp.targetSdkVersion=26
|
||||
systemProp.buildToolsVersion=26.0.2
|
||||
|
||||
@@ -709,8 +709,8 @@ public class StickyLayoutHelper extends FixAreaLayoutHelper {
|
||||
public void onClear(LayoutManagerHelper helper) {
|
||||
super.onClear(helper);
|
||||
if (mFixView != null) {
|
||||
helper.removeChildView(mFixView);
|
||||
helper.recycleView(mFixView);
|
||||
helper.removeChildView(mFixView);
|
||||
mFixView = null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user