Freigeben über


Slide Class

Definition

This transition tracks changes to the visibility of target views in the start and end scenes and moves views in or out from one of the edges of the scene.

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

Remarks

This transition tracks changes to the visibility of target views in the start and end scenes and moves views in or out from one of the edges of the scene. Visibility is determined by both the View#setVisibility(int) state of the view as well as whether it is parented in the current view hierarchy. Disappearing Views are limited as described in Visibility#onDisappear(android.view.ViewGroup, TransitionValues, int, TransitionValues, int).

Java documentation for android.transition.Slide.

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

Slide()

Constructor using the default Gravity#BOTTOM slide edge direction.

Slide(Context, IAttributeSet)

Constructor using the default Gravity#BOTTOM slide edge direction.

Slide(GravityFlags)

Constructor using the provided slide edge direction.

Slide(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)

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
Mode

Returns whether appearing and/or disappearing Views are supported. -or- Changes the transition to support appearing and/or disappearing Views, depending on mode.

(Inherited from Visibility)
Name

Returns the name of this Transition.

(Inherited from Transition)
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)
SlideEdge

Returns the edge that Views appear and disappear from. -or- Change the edge that Views appear and disappear from.

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.

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)
CanRemoveViews() (Inherited from Transition)
CaptureEndValues(TransitionValues)

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

(Inherited from Visibility)
CaptureStartValues(TransitionValues)

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

(Inherited from Visibility)
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)
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)
IsVisible(TransitionValues)

Returns whether the view is 'visible' according to the given values object.

(Inherited from Visibility)
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)
OnAppear(ViewGroup, TransitionValues, Int32, TransitionValues, Int32)

The default implementation of this method calls #onAppear(ViewGroup, View, TransitionValues, TransitionValues).

(Inherited from Visibility)
OnAppear(ViewGroup, View, TransitionValues, TransitionValues)

The default implementation of this method returns a null Animator.

(Inherited from Visibility)
OnDisappear(ViewGroup, TransitionValues, Int32, TransitionValues, Int32)

Subclasses should override this method or #onDisappear(ViewGroup, View, TransitionValues, TransitionValues) if they need to create an Animator when targets disappear.

(Inherited from Visibility)
OnDisappear(ViewGroup, View, TransitionValues, TransitionValues)

The default implementation of this method returns a null Animator.

(Inherited from Visibility)
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)
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)
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