in shimmer/src/main/java/com/facebook/shimmer/Shimmer.java [253:273]
public T copyFrom(Shimmer other) {
setDirection(other.direction);
setShape(other.shape);
setFixedWidth(other.fixedWidth);
setFixedHeight(other.fixedHeight);
setWidthRatio(other.widthRatio);
setHeightRatio(other.heightRatio);
setIntensity(other.intensity);
setDropoff(other.dropoff);
setTilt(other.tilt);
setClipToChildren(other.clipToChildren);
setAutoStart(other.autoStart);
setRepeatCount(other.repeatCount);
setRepeatMode(other.repeatMode);
setRepeatDelay(other.repeatDelay);
setStartDelay(other.startDelay);
setDuration(other.animationDuration);
mShimmer.baseColor = other.baseColor;
mShimmer.highlightColor = other.highlightColor;
return getThis();
}