Share via


TransitionSet Class

Definition

A TransitionSet is a parent of child transitions (including other TransitionSets).

[Android.Runtime.Register("android/transition/TransitionSet", DoNotGenerateAcw=true)]
public class TransitionSet : Android.Transitions.Transition
[<Android.Runtime.Register("android/transition/TransitionSet", DoNotGenerateAcw=true)>]
type TransitionSet = class
    inherit Transition
Inheritance
TransitionSet
Derived
Attributes

Remarks

A TransitionSet is a parent of child transitions (including other TransitionSets). Using TransitionSets enables more complex choreography of transitions, where some sets play #ORDERING_TOGETHER and others play #ORDERING_SEQUENTIAL. For example, AutoTransition uses a TransitionSet to sequentially play a Fade(Fade.OUT), followed by a ChangeBounds, followed by a Fade(Fade.OUT) transition.

A TransitionSet can be described in a resource file by using the tag transitionSet, along with the standard attributes of android.R.styleable#TransitionSet and android.R.styleable#Transition. Child transitions of the TransitionSet object can be loaded by adding those child tags inside the enclosing transitionSet tag. For example, the following xml describes a TransitionSet that plays a Fade and then a ChangeBounds transition on the affected view targets:

&lt;transitionSet xmlns:android="http://schemas.android.com/apk/res/android"
                        android:transitionOrdering="sequential"&gt;
                    &lt;fade/&gt;
                    &lt;changeBounds/&gt;
                &lt;/transitionSet&gt;

Java documentation for android.transition.TransitionSet.

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.

Constructors

TransitionSet()

Constructs an empty transition set.

TransitionSet(Context, IAttributeSet)
TransitionSet(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

Fields

MatchId
Obsolete.

With #setMatchOrder(int...), chooses to match by android.view.View#getId().

(Inherited from Transition)
MatchInstance
Obsolete.

With #setMatchOrder(int...), chooses to match by View instance.

(Inherited from Transition)
MatchItemId
Obsolete.

With #setMatchOrder(int...), chooses to match by the android.widget.Adapter item id.

(Inherited from Transition)
MatchName
Obsolete.

With #setMatchOrder(int...), chooses to match by android.view.View#getTransitionName().

(Inherited from Transition)
OrderingSequential
Obsolete.

A flag used to indicate that the child transitions of this set should play in sequence; when one child transition ends, the next child transition begins.

OrderingTogether
Obsolete.

A flag used to indicate that the child transitions of this set should all start at the same time.

Properties

Class

Returns the runtime class of this Object.

(Inherited from Object)
Duration

Returns the duration set on this transition.

(Inherited from Transition)
Epicenter

Returns the epicenter as specified by the android.transition.Transition.EpicenterCallback or null if no callback exists.

(Inherited from Transition)
Handle

The handle to the underlying Android instance.

(Inherited from Object)
Interpolator

Returns the interpolator set on this transition.

(Inherited from Transition)
JniIdentityHashCode (Inherited from Object)
JniPeerMembers
Name

Returns the name of this Transition.

(Inherited from Transition)
Ordering

Returns the ordering of this TransitionSet.

PathMotion

Returns the algorithm object used to interpolate along two dimensions. -or- Sets the algorithm used to calculate two-dimensional interpolation.

(Inherited from Transition)
PeerReference (Inherited from Object)
Propagation

Returns the android.transition.TransitionPropagation used to calculate Animator start delays. -or- Sets the method for determining Animator start delays.

(Inherited from Transition)
StartDelay

Returns the startDelay set on this transition.

(Inherited from Transition)
TargetIds

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

(Inherited from Transition)
TargetNames

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

(Inherited from Transition)
Targets

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

(Inherited from Transition)
TargetTypes

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

(Inherited from Transition)
ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

TransitionCount

Returns the number of child transitions in the TransitionSet.

Methods

AddListener(Transition+ITransitionListener)

Adds a listener to the set of listeners that are sent events through the life of an animation, such as start, repeat, and end.

(Inherited from Transition)
AddTarget(Class)

Adds the Class of a target view that this Transition is interested in animating.

(Inherited from Transition)
AddTarget(Int32)

Adds the id of a target view that this Transition is interested in animating.

(Inherited from Transition)
AddTarget(String)

Adds the transitionName of a target view that this Transition is interested in animating.

(Inherited from Transition)
AddTarget(View)

Sets the target view instances that this Transition is interested in animating.

(Inherited from Transition)
AddTransition(Transition)

Adds child transition to this set.

CanRemoveViews() (Inherited from Transition)
CaptureEndValues(TransitionValues)

Captures the values in the end scene for the properties that this transition monitors.

CaptureStartValues(TransitionValues)

Captures the values in the start scene for the properties that this transition monitors.

Clone()

Creates and returns a copy of this Object.

(Inherited from Transition)
CreateAnimator(ViewGroup, TransitionValues, TransitionValues)

This method creates an animation that will be run for this transition given the information in the startValues and endValues structures captured earlier for the start and end scenes.

(Inherited from Transition)
Dispose() (Inherited from Object)
Dispose(Boolean) (Inherited from Object)
Equals(Object)

Indicates whether some other object is "equal to" this one.

(Inherited from Object)
ExcludeChildren(Class, Boolean)

Whether to add the given type to the list of types whose children should be excluded from this transition.

(Inherited from Transition)
ExcludeChildren(Int32, Boolean)

Whether to add the children of the given id to the list of targets to exclude from this transition.

(Inherited from Transition)
ExcludeChildren(View, Boolean)

Whether to add the children of given target to the list of target children to exclude from this transition.

(Inherited from Transition)
ExcludeTarget(Class, Boolean)

Whether to add the given type to the list of types to exclude from this transition.

(Inherited from Transition)
ExcludeTarget(Int32, Boolean)

Whether to add the given id to the list of target ids to exclude from this transition.

(Inherited from Transition)
ExcludeTarget(String, Boolean)

Whether to add the given transitionName to the list of target transitionNames to exclude from this transition.

(Inherited from Transition)
ExcludeTarget(View, Boolean)

Whether to add the given target to the list of targets to exclude from this transition.

(Inherited from Transition)
GetEpicenterCallback()

Returns the callback used to find the epicenter of the Transition.

(Inherited from Transition)
GetHashCode()

Returns a hash code value for the object.

(Inherited from Object)
GetTransitionAt(Int32)

Returns the child Transition at the specified position in the TransitionSet.

GetTransitionProperties()

Returns the set of property names used stored in the TransitionValues object passed into #captureStartValues(TransitionValues) that this transition cares about for the purposes of canceling overlapping animations.

(Inherited from Transition)
GetTransitionValues(View, Boolean)

This method can be called by transitions to get the TransitionValues for any particular view during the transition-playing process.

(Inherited from Transition)
IsTransitionRequired(TransitionValues, TransitionValues)

Returns whether or not the transition should create an Animator, based on the values captured during #captureStartValues(TransitionValues) and #captureEndValues(TransitionValues).

(Inherited from Transition)
JavaFinalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

(Inherited from Object)
Notify()

Wakes up a single thread that is waiting on this object's monitor.

(Inherited from Object)
NotifyAll()

Wakes up all threads that are waiting on this object's monitor.

(Inherited from Object)
RemoveListener(Transition+ITransitionListener)

Removes a listener from the set listening to this animation.

(Inherited from Transition)
RemoveTarget(Class)

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

(Inherited from Transition)
RemoveTarget(Int32)

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

(Inherited from Transition)
RemoveTarget(String)

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

(Inherited from Transition)
RemoveTarget(View)

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

(Inherited from Transition)
RemoveTransition(Transition)

Removes the specified child transition from this set.

SetDuration(Int64)

Sets the duration of this transition.

(Inherited from Transition)
SetEpicenterCallback(Transition+EpicenterCallback)

Sets the callback to use to find the epicenter of a Transition.

(Inherited from Transition)
SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
SetInterpolator(ITimeInterpolator)

Sets the interpolator of this transition.

(Inherited from Transition)
SetMatchOrder(Int32[])

Sets the order in which Transition matches View start and end values.

(Inherited from Transition)
SetOrdering(TransitionOrdering)

Sets the play order of this set's child transitions.

SetStartDelay(Int64)

Sets the startDelay of this transition.

(Inherited from Transition)
ToArray<T>() (Inherited from Object)
ToString()

Returns a string representation of the object.

(Inherited from Object)
UnregisterFromRuntime() (Inherited from Object)
Wait()

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>.

(Inherited from Object)
Wait(Int64, Int32)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)
Wait(Int64)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)

Explicit Interface Implementations

IJavaPeerable.Disposed() (Inherited from Object)
IJavaPeerable.DisposeUnlessReferenced() (Inherited from Object)
IJavaPeerable.Finalized() (Inherited from Object)
IJavaPeerable.JniManagedPeerState (Inherited from Object)
IJavaPeerable.SetJniIdentityHashCode(Int32) (Inherited from Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) (Inherited from Object)
IJavaPeerable.SetPeerReference(JniObjectReference) (Inherited from Object)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to