Created
September 8, 2022 17:25
-
-
Save cp-radhika-s/deb9b946dafb1824f62ca0994ffdfb40 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val context = LocalContext.current | |
val motionScene = remember { | |
context.resources | |
.openRawResource(R.raw.motion_scene) | |
.readBytes() | |
.decodeToString() | |
} | |
MotionLayout( | |
motionScene = MotionScene(content = motionScene), | |
) { ... } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment