app_android.go raw

   1  // SPDX-License-Identifier: Unlicense OR MIT
   2  
   3  package app
   4  
   5  import (
   6  	"github.com/p9c/p9/pkg/gel/gio/app/internal/wm"
   7  )
   8  
   9  type ViewEvent = wm.ViewEvent
  10  
  11  // JavaVM returns the global JNI JavaVM.
  12  func JavaVM() uintptr {
  13  	return wm.JavaVM()
  14  }
  15  
  16  // AppContext returns the global Application context as a JNI
  17  // jobject.
  18  func AppContext() uintptr {
  19  	return wm.AppContext()
  20  }
  21