Freigeben über


Looper.MainLooper Property

Definition

Returns the application's main looper, which lives in the main thread of the application.

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

Property Value

Attributes

Remarks

Returns the application's main looper, which lives in the main thread of the application.

Java documentation for android.os.Looper.getMainLooper().

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.

Applies to