Fix no removeOnLayoutListener error
This commit is contained in:
1 parent
348f810df4
commit
04d888f4c8
1 file changed
+2
@@ -188,6 +188,8 @@ public class SimpleDialogCurtain extends Curtain {
|
||||
stageLayout.addOnLayoutListener(new StageLayout.OnLayoutListener() {
|
||||
@Override
|
||||
public void onLayout(View view) {
|
||||
stageLayout.removeOnLayoutListener(this);
|
||||
|
||||
onClose(enter, exitDialog, layout, cushion, frame, animatorCollection);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user