Class XuiActivity
public class XuiActivity : Android.App.Activity, IWindow, Choreographer.IFrameCallback
- Inheritance
-
XuiActivity
- Implements
-
IFrameCallback
Fields
Context
protected AndroidDrawingContext Context
Field Value
root
protected XuiRoot? root
Field Value
ui
protected XuiUI? ui
Field Value
Properties
Abstract
public IWindow? Abstract { get; }
Property Value
Instance
public static XuiActivity? Instance { get; }
Property Value
RequireKeyboard
Gets or sets whether the window currently requires keyboard input focus. Platforms may use this to show or hide on-screen keyboards.
public bool RequireKeyboard { get; set; }
Property Value
Title
Gets or sets the window title, where supported by the platform (e.g., desktop).
public string Title { get; set; }
Property Value
Methods
DoFrame(long)
public void DoFrame(long frameTimeNanos)
Parameters
frameTimeNanoslong
Invalidate()
Requests a redraw of the window surface. The platform should trigger a paint or render callback as soon as possible.
public void Invalidate()
OnCreate(Bundle?)
protected override void OnCreate(Bundle? savedInstanceState)
Parameters
savedInstanceStateBundle?
OnTouchEvent(MotionEvent?)
public override bool OnTouchEvent(MotionEvent? e)
Parameters
eMotionEvent?
Returns
Show()
Displays the window to the user. This may include making it visible, entering the main loop, or attaching it to the application's view hierarchy, depending on the platform.
public void Show()