@Test public void testFadeCreatesAnimation() { ImageView imageView = new ImageView(RuntimeEnvironment.application); ImageViewTarget target = new ImageViewTarget(imageView); target.placeHolder(new ColorDrawable(Color.RED)); target.error(new ColorDrawable(Color.BLUE)); Assert.assertNull(target.animation()); target.fade(); Assert.assertNotNull(target.animation()); }
@Override public ViewTarget<ImageView> fade() { return animation(new ImageViewCrossFadeAnimation()); }
ImageViewTarget extends ViewTarget<ImageView> { @Override public ViewTarget<ImageView> fade() { return animation(new ImageViewCrossFadeAnimation()); } }
ImageViewTarget extends ViewTarget<ImageView> { @Override public ViewTarget<ImageView> fade() { return animation(new ImageViewCrossFadeAnimation()); } ImageViewTarget(ImageView imageView);  ImageViewTarget(MirageRequest request, ImageView imageView); }
ImageViewTarget extends ViewTarget<ImageView> { @Override public ViewTarget<ImageView> fade() { return animation(new ImageViewCrossFadeAnimation()); } ImageViewTarget(ImageView imageView);  ImageViewTarget(MirageRequest request, ImageView imageView); @Override ViewTarget<ImageView> fade(); }
ImageViewTarget extends ViewTarget<ImageView> { @Override public ViewTarget<ImageView> fade() { return animation(new ImageViewCrossFadeAnimation()); } ImageViewTarget(ImageView imageView);  ImageViewTarget(MirageRequest request, ImageView imageView); @Override ViewTarget<ImageView> fade();  }