I am working on an application which needs image cross-fading between multiple images,
What I have: an ImageView
and 50 drawables (.png) which I will download from the cloud
What I want: 50 drawable should crossfade (fade in and out) sequentially between an interval of some seconds
What I have tried: Based on some answers here on stackoverflow, I tried the TransitionDrawable technique, but I could only crossfade between 2 images and not more and that to with touching.
the video I referred to : https://www.youtube.com/watch?v=atH3o2uh_94
A custom view to do that:
Usage:
then create your custom Drawable that draws two Drawables with changing alpha values, of course you will need to add the support for exchanging Drawables when you need to support multiple ones