MCPcopy Create free account
hub / github.com/Card-Forge/forge / onClose

Method onClose

forge-gui-mobile/src/forge/screens/FScreen.java:73–77  ·  view source on GitHub ↗
(Consumer<Boolean> canCloseCallback)

Source from the content-addressed store, hash-verified

71 }
72
73 public void onClose(Consumer<Boolean> canCloseCallback) {
74 if (canCloseCallback != null) { //will be null if app exited
75 canCloseCallback.accept(true);
76 }
77 }
78
79 public void showMenu() {
80 if (header instanceof MenuHeader mh) {

Callers 2

backMethod · 0.45
disposeMethod · 0.45

Calls 1

acceptMethod · 0.45

Tested by

no test coverage detected