/** * Enables a cross fade animation between both the placeholder and the first resource and between * subsequent resources (if thumbnails are used). */ @NonNull public BitmapTransitionOptions crossFade( @NonNull DrawableCrossFadeFactory drawableCrossFadeFactory) { return transitionUsing(drawableCrossFadeFactory); }
/** * Enables a cross fade animation between both the placeholder and the first resource and between * subsequent resources (if thumbnails are used). */ @NonNull public BitmapTransitionOptions crossFade(@NonNull DrawableCrossFadeFactory.Builder builder) { return transitionUsing(builder.build()); } }
/** * Returns a {@link BitmapTransitionOptions} object that enables a any animation * that is possible on drawables. * * @see #transitionUsing(TransitionFactory) */ @NonNull public static BitmapTransitionOptions withWrapped( @NonNull TransitionFactory<Drawable> drawableCrossFadeFactory) { return new BitmapTransitionOptions().transitionUsing(drawableCrossFadeFactory); }
/** * Enables a cross fade animation between both the placeholder and the first resource and between * subsequent resources (if thumbnails are used). */ public BitmapTransitionOptions crossFade(DrawableCrossFadeFactory drawableCrossFadeFactory) { return transitionUsing(drawableCrossFadeFactory); }
/** * Returns a {@link BitmapTransitionOptions} object that enables a any animation * that is possible on drawables. * * @see #transitionUsing(TransitionFactory) */ public static BitmapTransitionOptions withWrapped( TransitionFactory<Drawable> drawableCrossFadeFactory) { return new BitmapTransitionOptions().transitionUsing(drawableCrossFadeFactory); }
/** * Enables a cross fade animation between both the placeholder and the first resource and between * subsequent resources (if thumbnails are used). */ public BitmapTransitionOptions crossFade(DrawableCrossFadeFactory.Builder builder) { return transitionUsing(builder.build()); } }