title: Android frame animation in adapter
body: <p>I have been trying to get frame animation to work recently. </p>
  
  <p>I have struggled through the incorrect documentation example and have it working in an example application via the using onWindowFocusChanged to implement the start method.</p>
  
  <p>My problem now lies in the fact I want to use it on a view that is controlled by getView in an array adapter. </p>
  
  <p>Should this be possible?</p>
  
  <p>ie</p>
  
  <pre><code>public View getView(int position, View convertView, ViewGroup parent)
  {
      ImageView myImage =(ImageView)proximityView.findViewById(R.id.imgUserImage);
  
  
           myImage.setBackgroundResource(R.drawable.animation);
           AnimationDrawable frameAnimation = (AnimationDrawable) myImage.getBackground();
           frameAnimation.start();
  </code></pre>
  
  <p>}</p>