Fix no removeOnLayoutListener error

This commit is contained in:
seven332 committed 2015-08-02 18:15:31 +08:00
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);
}
});