Sdílet prostřednictvím


Fragment.Host Property

Definition

Return the host object of this fragment.

public Java.Lang.Object? Host { [Android.Runtime.Register("getHost", "()Ljava/lang/Object;", "", ApiSince=23)] get; }
[<get: Android.Runtime.Register("getHost", "()Ljava/lang/Object;", "", ApiSince=23)>]
member this.Host : Java.Lang.Object

Property Value

Attributes

Remarks

Return the host object of this fragment. May return null if the fragment isn't currently being hosted.

Java documentation for android.app.Fragment.getHost().

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