From cf809b8e8b2f661ff04d75b8a7af2e602990be32 Mon Sep 17 00:00:00 2001 From: Sidharth Guglani Date: Wed, 15 May 2019 01:14:36 -0700 Subject: [PATCH] added listener in flipper plugin for yoga Summary: Adds YogaEventListener interface and it's implementation which will be used in flipper for events coming from Yoga After this diff , we will start getting layout calculate events in flipper listener Reviewed By: davidaurelio Differential Revision: D15316928 fbshipit-source-id: da3a53374a52386037b553d460038d988b0162c2 --- java/com/facebook/yoga/YogaEventListener.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 java/com/facebook/yoga/YogaEventListener.java diff --git a/java/com/facebook/yoga/YogaEventListener.java b/java/com/facebook/yoga/YogaEventListener.java new file mode 100644 index 00000000..6d1d486b --- /dev/null +++ b/java/com/facebook/yoga/YogaEventListener.java @@ -0,0 +1,13 @@ +/** + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the LICENSE + * file in the root directory of this source tree. + */ +package com.facebook.yoga; + +public interface YogaEventListener { + + void onLayoutPassEnd(YogaNode node); + +} \ No newline at end of file