Cleanup Source superclass.
ClosedPublic

Authored by markwei on Tue, May 2, 9:11 PM.

Details

Summary

Fix onDisconnect() not being called anywhere.
Remove observer from onEnabled() and onDisabled()
Make onDisconnect() a required method.

Improve TweenSource implementation to parity with PhysicsSpringSource.
Now correctly removes listeners when an observer disconnects.

Diff Detail

Repository
rMDMSTREAMSANDROID reactive-motion-android
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
markwei created this revision.Tue, May 2, 9:11 PM
Restricted Application added a reviewer: O2: Material Motion. · View Herald TranscriptTue, May 2, 9:11 PM
Restricted Application added a project: Material Motion. · View Herald Transcript
Restricted Application added a reviewer: O6: Material Android platform reviewers. · View Herald Transcript
Restricted Application added a reviewer: Material Motion. · View Herald Transcript
Restricted Application completed building Restricted Buildable.Tue, May 2, 9:11 PM
Restricted Application completed building Restricted Buildable.Tue, May 2, 9:16 PM
featherless accepted this revision.Wed, May 3, 11:08 AM
This revision is now accepted and ready to land.Wed, May 3, 11:08 AM
This revision was automatically updated to reflect the committed changes.