Lots of android devs are using this tutorial from the Google documentation to try to achieve a card flip animation, and they’re getting errors, including this one:
05-22 11:32:34.706: E/AndroidRuntime(6801): java.lang.RuntimeException: Unknown animation name: objectAnimator
There does not appear to be a definitive answer that I can find as to how to get this to work. I got it. This is the relevant portion of my build file:
You’ll notice that I mention this library in the build. I downloaded it, rather than access it on bintray, to hedge against changes in its availability, and put it in the build/libs directory of my app.
When I go to flip in/out the child fragments, my parent fragment has this click listener on my flip button:
If you’re been banging your head against this (like I did at first), please pay it forward and share this with another Android dev who might like to know.