Language

FragmentHostCallback.OnHasView Method

Definition

Indicates whether the container holds a view.

[Android.Runtime.Register("onHasView", "()Z", "GetOnHasViewHandler", ApiSince=23)]
public override bool OnHasView();
[<Android.Runtime.Register("onHasView", "()Z", "GetOnHasViewHandler", ApiSince=23)>]
override this.OnHasView : unit -> bool

Returns

The default implementation returns true without inspecting a view hierarchy.

Attributes

Remarks

Indicates whether the container holds a view. The default implementation returns true without checking a view hierarchy.

Android reference for android.app.FragmentHostCallback.onHasView.

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