Wire Editor to Flipper

Summary:
This diff implements the integration between a Litho Editor and Flipper. It does so by converting the Editor format to FlipperObject, and then converting it back from FlipperDynamic.

This conversion works for both `State` and `Prop`. We already provide default implementations for primitive + wrapped types and String, so the functionality should match the existing one.

Reviewed By: passy, Katalune

Differential Revision: D22455220

fbshipit-source-id: f7f633765f3d997ce6de09d2c1277019e72c0802
This commit is contained in:
Paco Estevez Garcia
2020-07-27 05:07:59 -07:00
committed by Facebook GitHub Bot
parent 1784eb78d9
commit 10f9a48540
8 changed files with 146 additions and 58 deletions

View File

@@ -21,6 +21,7 @@ android {
compileOnly deps.lithoAnnotations
implementation project(':android')
implementation deps.lithoCore
implementation deps.lithoEditorCore
implementation deps.lithoSectionsDebug
implementation deps.lithoSectionsCore
implementation deps.lithoWidget