ui/app: implement Command for system events

And add CommandBack for the Android back button.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-04-02 21:04:48 +02:00
parent 6bd5b73154
commit fc55c6ee5c
6 changed files with 48 additions and 4 deletions
+5
View File
@@ -50,4 +50,9 @@ public class GioActivity extends Activity {
super.onLowMemory();
view.lowMemory();
}
@Override public void onBackPressed() {
if (!view.backPressed())
super.onBackPressed();
}
}