Transition Transition Class

Definition

A Transition holds information about animations that will be run on its targets during a scene change.

[Android.Runtime.Register("android/transition/Transition", ApiSince=19, DoNotGenerateAcw=true)]
public abstract class Transition : Java.Lang.Object, IDisposable, Java.Lang.ICloneable
type Transition = class
    inherit Object
    interface ICloneable
    interface IJavaObject
    interface IDisposable
Inheritance
TransitionTransition
Derived
Attributes
Implements

Remarks

Android platform documentation

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

Transition() Transition()

Constructs a Transition object with no target objects.

Transition(Context, IAttributeSet) Transition(Context, IAttributeSet)

Perform inflation from XML and apply a class-specific base style from a theme attribute or style resource.

Transition(IntPtr, JniHandleOwnership) Transition(IntPtr, JniHandleOwnership)

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

Fields

MatchId MatchId

With Android.Transitions.Transition.setMatchOrder(int...), chooses to match by Id.

MatchInstance MatchInstance

Android.Transitions.Transition.setMatchOrder(int...)

MatchItemId MatchItemId

With Android.Transitions.Transition.setMatchOrder(int...), chooses to match by the Adapter item id.

MatchName MatchName

With Android.Transitions.Transition.setMatchOrder(int...), chooses to match by TransitionName.

Properties

Class Class

Returns the unique instance of Class that represents this object's class.

(Inherited from Object)
Duration Duration

Returns the duration set on this transition.

Epicenter Epicenter

Transition EpicenterCallback

Handle Handle

The handle to the underlying Android instance.

(Inherited from Object)
IJavaObjectEx.IsProxy IJavaObjectEx.IsProxy Inherited from Object
IJavaObjectEx.KeyHandle IJavaObjectEx.KeyHandle Inherited from Object
IJavaObjectEx.NeedsActivation IJavaObjectEx.NeedsActivation Inherited from Object
IJavaPeerable.JniManagedPeerState IJavaPeerable.JniManagedPeerState Inherited from Object
Interpolator Interpolator

Returns the interpolator set on this transition.

JniIdentityHashCode JniIdentityHashCode Inherited from Object
JniPeerMembers JniPeerMembers
Name Name

Returns the name of this Transition.

PathMotion PathMotion

Returns the algorithm object used to interpolate along two dimensions.

PeerReference PeerReference Inherited from Object
Propagation Propagation

Returns the TransitionPropagation used to calculate Animator start delays.

StartDelay StartDelay

Returns the startDelay set on this transition.

TargetIds TargetIds

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

TargetNames TargetNames

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

Targets Targets

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

TargetTypes TargetTypes

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

ThresholdClass ThresholdClass

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

ThresholdType ThresholdType

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

Methods

AddListener(Transition+ITransitionListener) 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.

AddTarget(Class) AddTarget(Class)

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

AddTarget(Int32) AddTarget(Int32)

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

AddTarget(String) AddTarget(String)

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

AddTarget(View) AddTarget(View)

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

CanRemoveViews() CanRemoveViews()
CaptureEndValues(TransitionValues) CaptureEndValues(TransitionValues)

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

CaptureStartValues(TransitionValues) CaptureStartValues(TransitionValues)

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

Clone() Clone()

Creates and returns a copy of this Object.

CreateAnimator(ViewGroup, TransitionValues, TransitionValues) 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.

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

Compares this instance with the specified object and indicates if they are equal.

(Inherited from Object)
ExcludeChildren(Class, Boolean) ExcludeChildren(Class, Boolean)

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

ExcludeChildren(Int32, Boolean) ExcludeChildren(Int32, Boolean)

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

ExcludeChildren(View, Boolean) ExcludeChildren(View, Boolean)

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

ExcludeTarget(Class, Boolean) ExcludeTarget(Class, Boolean)

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

ExcludeTarget(Int32, Boolean) ExcludeTarget(Int32, Boolean)

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

ExcludeTarget(String, Boolean) ExcludeTarget(String, Boolean)

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

ExcludeTarget(View, Boolean) ExcludeTarget(View, Boolean)

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

GetEpicenterCallback() GetEpicenterCallback()

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

GetHashCode() GetHashCode()

Returns an integer hash code for this object.

(Inherited from Object)
GetTransitionProperties() 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.

GetTransitionValues(View, Boolean) GetTransitionValues(View, Boolean)

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

IsTransitionRequired(TransitionValues, TransitionValues) IsTransitionRequired(TransitionValues, TransitionValues)
JavaFinalize() JavaFinalize()

Invoked when the garbage collector has detected that this instance is no longer reachable.

(Inherited from Object)
Notify() Notify()

Causes a thread which is waiting on this object's monitor (by means of calling one of the wait() methods) to be woken up.

(Inherited from Object)
NotifyAll() NotifyAll()

Causes all threads which are waiting on this object's monitor (by means of calling one of the wait() methods) to be woken up.

(Inherited from Object)
RemoveListener(Transition+ITransitionListener) RemoveListener(Transition+ITransitionListener)

Removes a listener from the set listening to this animation.

RemoveTarget(Class) RemoveTarget(Class)

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

RemoveTarget(Int32) RemoveTarget(Int32)

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

RemoveTarget(String) RemoveTarget(String)

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

RemoveTarget(View) RemoveTarget(View)

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

SetDuration(Int64) SetDuration(Int64)

Sets the duration of this transition.

SetEpicenterCallback(Transition+EpicenterCallback) SetEpicenterCallback(Transition+EpicenterCallback)

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

SetHandle(IntPtr, JniHandleOwnership) SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
SetInterpolator(ITimeInterpolator) SetInterpolator(ITimeInterpolator)

Sets the interpolator of this transition.

SetMatchOrder(Int32[]) SetMatchOrder(Int32[])
SetStartDelay(Int64) SetStartDelay(Int64)

Sets the startDelay of this transition.

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

Returns a string containing a concise, human-readable description of this object.

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

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object.

(Inherited from Object)
Wait(Int64) Wait(Int64)

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the specified timeout expires.

(Inherited from Object)
Wait(Int64, Int32) Wait(Int64, Int32)

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the specified timeout expires.

(Inherited from Object)

Explicit Interface Implementations

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

Extension Methods

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable) GetJniTypeName(IJavaPeerable)

Applies to