21 lines
275 B
Go
21 lines
275 B
Go
package naive
|
|
|
|
var (
|
|
appTitle string
|
|
)
|
|
|
|
func StartApp(title string, view View) {
|
|
appTitle = title
|
|
startNativeApp(view)
|
|
}
|
|
|
|
func SetView(view View) {
|
|
clearAllEffectListeners()
|
|
nativeSetView(view)
|
|
}
|
|
|
|
func SetTitle(title string) {
|
|
appTitle = title
|
|
setNativeTitle(title)
|
|
}
|