title: Rotate View and update its content while rotating
body: <p>I want to rotate a <code>View</code> to 90 degree and update its content and again rotate it to 90 degree, and so far I tried below code.</p>
  
  <pre><code>ObjectAnimator anim1 = (ObjectAnimator) AnimatorInflater.loadAnimator(getActivity().getApplicationContext(), R.animator.flip_animator);
  
                      anim1.setTarget(v);
                      anim1.setDuration(1000);
                      anim1.start();
  
  
  ImageView box = (ImageView) v.findViewById(R.id.box);
          Bitmap bg = BoxUtils.getBoxBg(boxSize, boxMargin, Color.RED);
          box.setImageBitmap(bg);
  
  
                  anim1.setTarget(v);
                  anim1.setDuration(1000);
                  anim1.start();
  </code></pre>
  
  <p>xml:</p>
  
  <pre><code>&lt;objectAnimator xmlns:android="http://schemas.android.com/apk/res/android"
      android:valueFrom="0" android:valueTo="90" android:propertyName="rotationY" &gt;
  &lt;/objectAnimator&gt;
  </code></pre>
  
  <p>However its working but its changing its color before it rotates next 90 degree, even i had written updation code before than next rotation code.
  Any help ?</p>