PictureViewer: How to use ViewPropertyAnimator to get a cross-fade effect as new bitmaps get installed in an ImageView.
TransitionDrawable is a handy and easy facility for cross-fading between two drawables. But if you want to cross-fade between an arbitrary set of images, you might want something more general-purpose. Here's one approach.
YouTube: https://www.youtube.com/watch?v=9XbKMUtVnJA
Code: http://developer.android.com/shareables/devbytes/PictureViewer.zip
TransitionDrawable is a handy and easy facility for cross-fading between two drawables. But if you want to cross-fade between an arbitrary set of images, you might want something more general-purpose. Here's one approach.
YouTube: https://www.youtube.com/watch?v=9XbKMUtVnJA
Code: http://developer.android.com/shareables/devbytes/PictureViewer.zip
Comments
Post a Comment