title: ExpandableListView animation for a child Android
body: <p>I am trying to apply some kind of an animation for the <code>ExpandableListView</code>. I have done some research and looks like its a right pain. I managed to apply slide animation on the expand, however i cant work out how to apply anything on collapse.</p>
  
  <p>I used </p>
  
  <p><a href="https://stackoverflow.com/questions/5188196/how-to-write-custom-expandablelistadapter">How to write custom ExpandableListAdapter</a></p>
  
  <p>for my <code>ExpandableListView</code>. As it stands at the moment i apply this t oa child <code>convertView</code> and it works fine on expand, but i cant figure out how it collapses.</p>
  
  <pre><code> Animation fadeAnimation = AnimationUtils.loadAnimation(getContext(), R.anim.slide_left_in);
   convertView.startAnimation(fadeAnimation );
  </code></pre>
  
  <p>Would anyone be able to help or perhaps there is a better solution for this?</p>