material-motion / material-motion-android

Reactive motion for Android. Deprecated; please use the Motion library in Material Components for Android instead: https://material.io/develop/android/theming/motion/.
Apache License 2.0
444 stars 26 forks source link

Implement MotionRuntime.get() API #72

Closed pingpongboss closed 7 years ago

pingpongboss commented 7 years ago

https://material-motion.github.io/material-motion/starmap/specifications/runtime/MotionRuntime-get

Create a runtime.get(view).property() syntactic sugar for the existing ReactiveProperty.of(view, property) API. The requirements are:

In the future, we may genericize this API to support properties that are not just on Views. This is not yet spec'd and will require careful type considerations, so it's recommended to only add View support first.