共用方式為


Transition.TargetNames Property

Definition

Returns the list of target transitionNames that this transition limits itself to tracking and animating.

public virtual System.Collections.Generic.IList<string>? TargetNames { [Android.Runtime.Register("getTargetNames", "()Ljava/util/List;", "GetGetTargetNamesHandler")] get; }
[<get: Android.Runtime.Register("getTargetNames", "()Ljava/util/List;", "GetGetTargetNamesHandler")>]
member this.TargetNames : System.Collections.Generic.IList<string>

Property Value

the list of target transitionNames

Attributes

Remarks

Returns the list of target transitionNames that this transition limits itself to tracking and animating. If the list is null or empty for #getTargetIds(), #getTargets(), #getTargetNames(), and #getTargetTypes() then this transition is not limited to specific views, and will handle changes to any views in the hierarchy of a scene change.

Java documentation for android.transition.Transition.getTargetNames().

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