|
@@ -111,12 +111,14 @@ public class ScreenStack {
|
111
|
111
|
final Screen previous = stack.peek();
|
112
|
112
|
|
113
|
113
|
if (keyboardVisibilityDetector.isKeyboardVisible()) {
|
114
|
|
- keyboardVisibilityDetector.closeKeyboard(new Runnable() {
|
|
114
|
+ keyboardVisibilityDetector.setKeyboardCloseListener(new Runnable() {
|
115
|
115
|
@Override
|
116
|
116
|
public void run() {
|
|
117
|
+ keyboardVisibilityDetector.setKeyboardCloseListener(null);
|
117
|
118
|
swapScreens(animated, toRemove, previous, onScreenPop);
|
118
|
119
|
}
|
119
|
120
|
});
|
|
121
|
+ keyboardVisibilityDetector.closeKeyboard();
|
120
|
122
|
} else {
|
121
|
123
|
swapScreens(animated, toRemove, previous, onScreenPop);
|
122
|
124
|
}
|