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

Method onSwitchAway

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

Source from the content-addressed store, hash-verified

67 }
68
69 public void onSwitchAway(Consumer<Boolean> canSwitchCallback) {
70 canSwitchCallback.accept(true);
71 }
72
73 public void onClose(Consumer<Boolean> canCloseCallback) {
74 if (canCloseCallback != null) { //will be null if app exited

Callers 1

openScreenMethod · 0.45

Calls 1

acceptMethod · 0.45

Tested by

no test coverage detected