ContextWrapper.MainLooper Property

Definition

Return the Looper for the main thread of the current process.

public override Android.OS.Looper? MainLooper { [Android.Runtime.Register("getMainLooper", "()Landroid/os/Looper;", "GetGetMainLooperHandler")] get; }
[<get: Android.Runtime.Register("getMainLooper", "()Landroid/os/Looper;", "GetGetMainLooperHandler")>]
member this.MainLooper : Android.OS.Looper

Property Value

The main looper.

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Java documentation for android.content.ContextWrapper.getMainLooper().

Applies to