Transition.RemoveTarget Method

Definition

Overloads

RemoveTarget(String)

Removes the given targetName from the list of transitionNames that this Transition is interested in animating.

RemoveTarget(Int32)

Removes the given targetId from the list of ids that this Transition is interested in animating.

RemoveTarget(View)

Removes the given target from the list of targets that this Transition is interested in animating.

RemoveTarget(Class)

Removes the given target from the list of targets that this Transition is interested in animating.

RemoveTarget(String)

Removes the given targetName from the list of transitionNames that this Transition is interested in animating.

[Android.Runtime.Register("removeTarget", "(Ljava/lang/String;)Landroid/transition/Transition;", "GetRemoveTarget_Ljava_lang_String_Handler")]
public virtual Android.Transitions.Transition? RemoveTarget (string? targetName);
[<Android.Runtime.Register("removeTarget", "(Ljava/lang/String;)Landroid/transition/Transition;", "GetRemoveTarget_Ljava_lang_String_Handler")>]
abstract member RemoveTarget : string -> Android.Transitions.Transition
override this.RemoveTarget : string -> Android.Transitions.Transition

Parameters

targetName
String

The transitionName of a target view, must not be null.

Returns

The Transition from which the targetName is removed. Returning the same object makes it easier to chain calls during construction, such as transitionSet.addTransitions(new Fade()).removeTargetName(someName);

Attributes

Remarks

Removes the given targetName from the list of transitionNames that this Transition is interested in animating.

Java documentation for android.transition.Transition.removeTarget(java.lang.String).

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

RemoveTarget(Int32)

Removes the given targetId from the list of ids that this Transition is interested in animating.

[Android.Runtime.Register("removeTarget", "(I)Landroid/transition/Transition;", "GetRemoveTarget_IHandler")]
public virtual Android.Transitions.Transition? RemoveTarget (int targetId);
[<Android.Runtime.Register("removeTarget", "(I)Landroid/transition/Transition;", "GetRemoveTarget_IHandler")>]
abstract member RemoveTarget : int -> Android.Transitions.Transition
override this.RemoveTarget : int -> Android.Transitions.Transition

Parameters

targetId
Int32

The id of a target view, must be a positive number.

Returns

The Transition from which the targetId is removed. Returning the same object makes it easier to chain calls during construction, such as transitionSet.addTransitions(new Fade()).removeTargetId(someId);

Attributes

Remarks

Removes the given targetId from the list of ids that this Transition is interested in animating.

Java documentation for android.transition.Transition.removeTarget(int).

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

RemoveTarget(View)

Removes the given target from the list of targets that this Transition is interested in animating.

[Android.Runtime.Register("removeTarget", "(Landroid/view/View;)Landroid/transition/Transition;", "GetRemoveTarget_Landroid_view_View_Handler")]
public virtual Android.Transitions.Transition? RemoveTarget (Android.Views.View? target);
[<Android.Runtime.Register("removeTarget", "(Landroid/view/View;)Landroid/transition/Transition;", "GetRemoveTarget_Landroid_view_View_Handler")>]
abstract member RemoveTarget : Android.Views.View -> Android.Transitions.Transition
override this.RemoveTarget : Android.Views.View -> Android.Transitions.Transition

Parameters

target
View

The target view, must be non-null.

Returns

Transition The Transition from which the target is removed. Returning the same object makes it easier to chain calls during construction, such as transitionSet.addTransitions(new Fade()).removeTarget(someView);

Attributes

Remarks

Removes the given target from the list of targets that this Transition is interested in animating.

Java documentation for android.transition.Transition.removeTarget(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

RemoveTarget(Class)

Removes the given target from the list of targets that this Transition is interested in animating.

[Android.Runtime.Register("removeTarget", "(Ljava/lang/Class;)Landroid/transition/Transition;", "GetRemoveTarget_Ljava_lang_Class_Handler")]
public virtual Android.Transitions.Transition? RemoveTarget (Java.Lang.Class? target);
[<Android.Runtime.Register("removeTarget", "(Ljava/lang/Class;)Landroid/transition/Transition;", "GetRemoveTarget_Ljava_lang_Class_Handler")>]
abstract member RemoveTarget : Java.Lang.Class -> Android.Transitions.Transition
override this.RemoveTarget : Java.Lang.Class -> Android.Transitions.Transition

Parameters

target
Class

The type of the target view, must be non-null.

Returns

Transition The Transition from which the target is removed. Returning the same object makes it easier to chain calls during construction, such as transitionSet.addTransitions(new Fade()).removeTarget(someType);

Attributes

Remarks

Removes the given target from the list of targets that this Transition is interested in animating.

Java documentation for android.transition.Transition.removeTarget(java.lang.Class).

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