Android.Transitions.Transition.AddTarget Method
Sets the target view instances that this Transition is interested in animating.

Syntax

[Android.Runtime.Register("addTarget", "(Landroid/view/View;)Landroid/transition/Transition;", "GetAddTarget_Landroid_view_View_Handler")]
public virtual Transition AddTarget (Android.Views.View target)

See Also

Transition.AddTarget(int)

Parameters

target
A View on which the Transition will act, must be non-null.

Returns

Documentation for this section has not yet been entered.

Remarks

Sets the target view instances that this Transition is interested in animating. By default, there are no targets, and a Transition will listen for changes on every view in the hierarchy below the sceneRoot of the Scene being transitioned into. Setting targets constrains the Transition to only listen for, and act on, these views. All other views will be ignored.

The target list is like the Transition.AddTarget(int) list except this list specifies the actual View instances, not the ids of the views. This is an important distinction when scene changes involve view hierarchies which have been inflated separately; different views may share the same id but not actually be the same instance. If the transition should treat those views as the same, then Transition.AddTarget(int) should be used instead of Transition.AddTarget(Android.Views.View). If, on the other hand, scene changes involve changes all within the same view hierarchy, among views which do not necessarily have ids set on them, then the target list of views may be more convenient.

[Android Documentation]

Requirements

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