Freigeben über


Transition.Name Property

Definition

Returns the name of this Transition.

public virtual string? Name { [Android.Runtime.Register("getName", "()Ljava/lang/String;", "GetGetNameHandler")] get; }
[<get: Android.Runtime.Register("getName", "()Ljava/lang/String;", "GetGetNameHandler")>]
member this.Name : string

Property Value

The name of this transition.

Attributes

Remarks

Returns the name of this Transition. This name is used internally to distinguish between different transitions to determine when interrupting transitions overlap. For example, a ChangeBounds running on the same target view as another ChangeBounds should determine whether the old transition is animating to different end values and should be canceled in favor of the new transition.

By default, a Transition's name is simply the value of Class#getName(), but subclasses are free to override and return something different.

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

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