From 0f7369c75777c126949167571a4feac34000eb5f Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Tue, 27 Jun 2023 14:21:08 -0700 Subject: [PATCH] Update Compose.md --- docs/Compose.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/Compose.md b/docs/Compose.md index bb866744d..5d053b131 100644 --- a/docs/Compose.md +++ b/docs/Compose.md @@ -41,4 +41,5 @@ Dragging between two visual elements is done similarly with views and compose: With compose, it is extremely easy to listen to global coordinates, and to add/alter visual elements immediately in the next frame. We simply have listeners for all offsets, and a composable that optionally draws content. The same is possible with views, but takes a bit more coordination to actually add and remove the views. For dragging specifically, compose provides helpers including `detectDragGesturesAfterLongPress`, which does most of the work needed. No need for a `SimpleOnGestureListener`. -![Demo](https://user-images.githubusercontent.com/6251823/247897796-83a1ed67-d21a-4a4a-bef6-98c171fca655.mp4) \ No newline at end of file +https://github.com/AllanWang/Frost-for-Facebook/assets/6251823/0cef497c-cbdc-4597-870f-a38ef8d23b35 +