title: How can I repeat a transition forever?
body: <p>I have a transition looking like this:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;transition xmlns:android="http://schemas.android.com/apk/res/android" &gt;
  
      &lt;item android:drawable="@drawable/divider"/&gt;
      &lt;item android:drawable="@drawable/divider_active"/&gt;
  
  &lt;/transition&gt;
  </code></pre>
  
  <p>and Code looking like this:</p>
  
  <pre><code>View divider = v.findViewById(R.id.divider);
  if (divider != null) {
    TransitionDrawable transition = (TransitionDrawable) divider.getBackground();
    transition.startTransition(2000);
  }
  </code></pre>
  
  <p>My problem is, I don't know how to repeat this transition forever, so I can create a pulsing effect.</p>
  
  <p>Edit:</p>
  
  <p>To make things clear: The code gets executed when creating a view (listitem), so loops are no solution.</p>