I recently held a presentation at Droidcon London about “Dynamic Animation using Custom Views” and got quite a lot of question about the source for the Dynamics class and the other sample applications I showed. You can find the sources here:
A small disclaimer might be appropriate as well: The above sample views are small, quickly implemented views and are not really fully implemented. For example, none of the views handle padding correctly (except for the view tutorial views). They are just meant to demonstrate the Dynamics & Animators concept.
For those of you that didn’t attend the session you can take a look at the third part of the view tutorial series which describes more or less what I covered in the presentation, but the Dynamics object that’s in the tutorial is a bit old so use the one in the sources instead. There’s also a part 1 and part 2 of the view tutorial and there will be more parts as well, so if you’re interested in how to implement custom view stay tuned. Also, if you’re attending Øredev there’s a talk by Andreas Agvard (former colleague of mine) from Sony Mobile on the same subject which I highly recommend.
Have fun using Dynamics & Animators and I’d love if you let me know if you happen use it.