Property animation vs View animations for new Android code

I am new to Android animation and reading introductory articles. The developer’s guide says that View animation is an older system and easy to use.

As a newbie, should I invest any time in understanding how presentation animations work, or should I focus entirely on property animations? Is there something that property animation is not capable of? Is it “comparatively” very difficult to use property animations for simple things like rotate / translate?

+4
source share
1 answer

As a newbie, should I invest any time in understanding how presentation animations work, or should I focus entirely on property animations?

I suggest you focus entirely on animating properties. At this point, you should be targeting Android 3.0+, where property animations are available. If you want your code to work on older devices, NineOldAndroids offers backport of some property animation APIs.

Is there something that property animations cannot do?

Not that I could think. Property animation is significantly more powerful, less hassle and more effective.

Is it "comparatively" difficult to use property animations for simple things like rotate / translate?

IMHO, , .

+6

Source: https://habr.com/ru/post/1527136/


All Articles