@Override
          public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
            mImageOptions =
                mImageOptions
                    .extend()
                    .placeholderRes(isChecked ? R.drawable.ninepatch : R.drawable.logo)
                    .placeholderScaleType(isChecked ? ScaleType.FIT_XY : ScaleType.CENTER_INSIDE)
                    .build();
          }
A {@link Fragment} that illustrates the different drawables one can set for ImageOptions.
samples/showcase/src/main/java/com/facebook/fresco/samples/showcase/vito/ImageLayersFragment.java