Skip to content Skip to sidebar Skip to footer

Imageswitcher Is Not Showing Outanimation

I'm using ImageSwitcher widget of android to transition between 2 images like a slide show but it is showing only in animation and out animation is not showing. What is the issue?

Solution 1:

No Problem found in Your Code May be Problem Is in Your top_out animation

<?xml version="1.0" encoding="utf-8"?><translatexmlns:android="http://schemas.android.com/apk/res/android"android:duration="300"android:fromYDelta="0%"android:interpolator="@android:anim/decelerate_interpolator"android:toYDelta="-100%" />

In android:toYDelta

change it android:toYDelta="-100%"to android:toYDelta="100%"

Solution 2:

I was able to resolve the issue by removing '.thumbnail(.1f)' from the Glide request. Don't know the deeper sight but ImageSwitcher is working fine for me now. Thanks to fellows who helped by any means.

Post a Comment for "Imageswitcher Is Not Showing Outanimation"