The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

Alexander Gherschon (7) [Avatar] Offline

I've put in practice the awesome hack number 6, with an animation on the childs of a list.
I've noticed that the separators of the list are not animated and are drawn before the animation starts.

Is there a way to animate the separator also, as a part of the child?
carlos.sessa (15) [Avatar] Offline
Re: Hack 6 : Animation on separators?
Good question!
I am not sure it's possible but I would try the following:

a) Removing the separator
b) Doing the animation
c) Adding it when the animation finishes

You can also try something even more dirty smilie

Adding the separator to the child's view hiding it depending on the position on the Adapter's getView() method.
Alexander Gherschon (7) [Avatar] Offline
Re: Hack 6 : Animation on separators?
Thanks for your answer!

I managed to do it my setting the divider (not called separator in the docs) to null and adding a line into the child's layout, but I'm not sure I really like the effect it made, so I reverted to the default behavior, which is classy anyway.