ExpandableLayout
ExpandableLayout copied to clipboard
setLayoutAnimationListener() Will Not Work
You are applying the supplied AnimationListener to animation. However, you replace animation on every expand() and collapse() call, and the new Animation does not have the listener. Either don't keep replacing animation, or hold onto the AnimationListener and apply it to each new Animation that you create.
You can see a patch for this at https://github.com/commonsguy/ExpandableLayout/commit/690467300384c55a4ba29a51e8730be5773a2bfd -- let me know if you would like a pull request.