Android.Transitions.Transition.ExcludeTarget Method
Whether to add the given type to the list of types to exclude from this transition.

Syntax

[Android.Runtime.Register("excludeTarget", "(Ljava/lang/Class;Z)Landroid/transition/Transition;", "GetExcludeTarget_Ljava_lang_Class_ZHandler")]
public virtual Transition ExcludeTarget (Java.Lang.Class type, bool exclude)

See Also

Transition.ExcludeChildren(Java.Lang.Class, System.Boolean)
Transition.ExcludeTarget(int, System.Boolean)
Transition.ExcludeTarget(Android.Views.View, System.Boolean)

Parameters

type
The type to ignore when running this transition.
exclude
Whether to add the target type to or remove it from the current list of excluded target types.

Returns

Documentation for this section has not yet been entered.

Remarks

Whether to add the given type to the list of types to exclude from this transition. The exclude parameter specifies whether the target type should be added to or removed from the excluded list.

Excluding targets is a general mechanism for allowing transitions to run on a view hierarchy while skipping target views that should not be part of the transition. For example, you may want to avoid animating children of a specific ListView or Spinner. Views can be excluded either by their id, or by their instance reference, or by the Class of that view (eg, Android.Widget.Spinner).

[Android Documentation]

Requirements

Namespace: Android.Transitions
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0