Add dex example that dynamically loads a java class from a byte

stream.
This commit is contained in:
gmp
2019-10-31 16:17:40 -04:00
parent dad071293c
commit 45f4e38ee3
10 changed files with 544 additions and 13 deletions
+2 -1
View File
@@ -11,7 +11,7 @@ import (
"gioui.org/unit"
"gioui.org/widget/material"
_ "gioui.org/font/gofont"
"gioui.org/font/gofont"
)
var (
@@ -34,6 +34,7 @@ func diffInsets(x, y system.Insets) bool {
}
func eventloop() {
gofont.Register()
w := app.NewWindow(
app.Size(unit.Dp(400), unit.Dp(400)),
app.Title("Hello"))