ViewAsserts.AssertGroupContains(ViewGroup, View) Method

Definition

Assert that the specified group contains a specific child once and only once.

[Android.Runtime.Register("assertGroupContains", "(Landroid/view/ViewGroup;Landroid/view/View;)V", "")]
public static void AssertGroupContains (Android.Views.ViewGroup? parent, Android.Views.View? child);
[<Android.Runtime.Register("assertGroupContains", "(Landroid/view/ViewGroup;Landroid/view/View;)V", "")>]
static member AssertGroupContains : Android.Views.ViewGroup * Android.Views.View -> unit

Parameters

parent
ViewGroup

The group

child
View

The child that should belong to group

Attributes

Remarks

Assert that the specified group contains a specific child once and only once.

Java documentation for android.test.ViewAsserts.assertGroupContains(android.view.ViewGroup, android.view.View).

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