Closed oscar-ad closed 1 year ago
Adds a DSL to define MotionScenes. See MotionSceneScope.kt
MotionSceneScope allows users to define or add ConstraintSets and Transitions to build a MotionScene.
See OnSwipeExperiment.kt:SimpleSwipeDsl for an example.
Also added an equivalent benchmark test that uses the DSL instead of the Json syntax.
Adds a DSL to define MotionScenes. See MotionSceneScope.kt
MotionSceneScope allows users to define or add ConstraintSets and Transitions to build a MotionScene.
See OnSwipeExperiment.kt:SimpleSwipeDsl for an example.
Also added an equivalent benchmark test that uses the DSL instead of the Json syntax.