Share via


ViewAsserts.AssertGroupNotContains(ViewGroup, View) Method

Definition

Assert that the specified group does not contain a specific child.

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

Parameters

parent
ViewGroup

The group

child
View

The child that should not belong to group

Attributes

Remarks

Assert that the specified group does not contain a specific child.

Java documentation for android.test.ViewAsserts.assertGroupNotContains(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