/** * Enables a cross fade animation between both the placeholder and the first resource and between * subsequent resources (if thumbnails are used). */ @NonNull public DrawableTransitionOptions crossFade( @NonNull DrawableCrossFadeFactory drawableCrossFadeFactory) { return transition(drawableCrossFadeFactory); }
/** * Returns a {@link DrawableTransitionOptions} object that uses the given transition factory. * * @see com.bumptech.glide.GenericTransitionOptions#with(TransitionFactory) */ @NonNull public static DrawableTransitionOptions with( @NonNull TransitionFactory<Drawable> transitionFactory) { return new DrawableTransitionOptions().transition(transitionFactory); }
/** * Enables a cross fade animation between both the placeholder and the first resource and between * subsequent resources (if thumbnails are used). */ public DrawableTransitionOptions crossFade(DrawableCrossFadeFactory drawableCrossFadeFactory) { return transition(drawableCrossFadeFactory); }
/** * Returns a {@link DrawableTransitionOptions} object that uses the given transition factory. * * @see com.bumptech.glide.GenericTransitionOptions#with(TransitionFactory) */ public static DrawableTransitionOptions with( TransitionFactory<Drawable> transitionFactory) { return new DrawableTransitionOptions().transition(transitionFactory); }