Versions in this module Expand all Collapse all v0 v0.0.3 Mar 16, 2026 Changes in this version + func SetLifecycleCallbacks(cb LifecycleCallbacks) + type Activity struct + func NewActivityFromPointer(ptr unsafe.Pointer) *Activity + func (h *Activity) Finish() + func (h *Activity) HideSoftInput(flags uint32) + func (h *Activity) Pointer() unsafe.Pointer + func (h *Activity) SetWindowFlags(addFlags uint32, removeFlags uint32) + func (h *Activity) SetWindowFormat(format int32) + func (h *Activity) ShowSoftInput(flags uint32) + type Error int32 + func (e Error) Error() string + type HideSoftInputFlags int32 + const ImplicitOnly + const NotAlways + type LifecycleCallbacks struct + OnConfigurationChanged func(*Activity) + OnContentRectChanged func(*Activity, unsafe.Pointer) + OnCreate func(*Activity) + OnDestroy func(*Activity) + OnInputQueueCreated func(*Activity, unsafe.Pointer) + OnInputQueueDestroyed func(*Activity, unsafe.Pointer) + OnLowMemory func(*Activity) + OnNativeWindowCreated func(*Activity, unsafe.Pointer) + OnNativeWindowDestroyed func(*Activity, unsafe.Pointer) + OnNativeWindowRedrawNeeded func(*Activity, unsafe.Pointer) + OnNativeWindowResized func(*Activity, unsafe.Pointer) + OnPause func(*Activity) + OnResume func(*Activity) + OnSaveInstanceState func(*Activity, unsafe.Pointer) + OnStart func(*Activity) + OnStop func(*Activity) + OnWindowFocusChanged func(*Activity, int32) + type NativeActivityCallbacks struct + func NewNativeActivityCallbacksFromPointer(ptr unsafe.Pointer) *NativeActivityCallbacks + func (h *NativeActivityCallbacks) Pointer() unsafe.Pointer + type ShowSoftInputFlags int32 + const Forced + const Implicit