GenericTransitionOptions
class GenericTransitionOptions<TranscodeType> : TransitionOptions<CHILD, TranscodeType>
Content copied to clipboard
Implementation of TransitionOptions that exposes only generic methods that can be applied to any resource type.
Parameters
<TranscodeType>
The type of the resource that will be displayed.
Functions
Link copied to clipboard
Removes any existing animation put on the builder.
Link copied to clipboard
Uses the given TransitionFactory to build a for each request started with these
TransitionOptions
.Sets an animator to run a android.view.
Sets an android.view.animation.
Link copied to clipboard
open fun <TranscodeType> with(transitionFactory: TransitionFactory<out Any>): GenericTransitionOptions<TranscodeType>
Content copied to clipboard
Returns a typed GenericTransitionOptions object that uses the given transition factory.
open fun <TranscodeType> with(animator: ViewPropertyTransition.Animator): GenericTransitionOptions<TranscodeType>
Content copied to clipboard
Returns a typed GenericTransitionOptions object that uses the given animator.
open fun <TranscodeType> with(viewAnimationId: Int): GenericTransitionOptions<TranscodeType>
Content copied to clipboard
Returns a typed GenericTransitionOptions object that uses the given view animation.
Link copied to clipboard
open fun <TranscodeType> withNoTransition(): GenericTransitionOptions<TranscodeType>
Content copied to clipboard
Removes any existing animation put on the builder.