|author||Elias Naur <firstname.lastname@example.org>||Thu Sep 13 15:47:56 2018 +0200|
|committer||Elias Naur <email@example.com>||Thu Sep 13 17:01:46 2018 +0000|
app: make GoNativeActivity.getKey static The input queue runs concurrent with the native activity lifecycle, and so the getKey helper Java method might be called after the app has been destroyed. This is particularly likely for "back" key presses that destroys activities. Change the getKey method to be static so that it can be called outside the app lifecycle. Run `go generate ./cmd/gomobile` to update the compiled dex file that contains GoNativeActivity. Fixes golang/go#27652 Change-Id: Id2c863ee07e5447f033e67d6948fbfe746916ffa Reviewed-on: https://go-review.googlesource.com/135215 Reviewed-by: Hyang-Ah Hana Kim <firstname.lastname@example.org>
The Go mobile repository holds packages and build tools for using Go on mobile platforms.
Package documentation as a starting point:
The Go Mobile project is experimental. Use this at your own risk. While we are working hard to improve it, neither Google nor the Go team can provide end-user support.
Contributions to Go are appreciated. See https://golang.org/doc/contribute.html.