JakeWharton / NineOldAndroids

[DEPRECATED] Android library for using the Honeycomb animation API on all versions of the platform back to 1.0!
http://nineoldandroids.com
Apache License 2.0
4.49k stars 1.53k forks source link

Different behaviors between pre 3.0 and 3.0+ versions #20

Closed Amokrane closed 12 years ago

Amokrane commented 12 years ago

Hi,

First of all thanks for sharing this compatibility library with the community. I am using NineOldAndroids, basically to solve this particular problem.

Before using NineOldAndroids, my application would crash on pre-honeycomb devices with a ClassNotFoundException (for ObjectAnimator) and after using it, it runs fine but... I still get the same problem that I had with the animation API (the position of the animated view is still bound to its previous location). I should mention, that I don't have this problem on post-honeycomb devices.

I don't really understand why, given that your compatibility library is an extraction of the entire new API as I understand.

What do you think?

Thanks!

JakeWharton commented 12 years ago

This is a limitation of the platform, not the library. There is nothing you can do other than update the LayoutParams once the animation completes to get the functionality you desire.

Amokrane commented 12 years ago

Ok, thanks!

jameswald commented 12 years ago

I was having the same problem so I'm going to do what you suggest. Thanks Jake!