From 820cf6a75ec623ecf6eb6af14ca80038c21a4e0f Mon Sep 17 00:00:00 2001 From: Pascal Hartig Date: Fri, 23 Jun 2023 14:42:14 -0700 Subject: [PATCH] Add jetpack compose to sample app Summary: Add an entry to the sample app to showcase Jetpack compose support. Note that you need to enable View Attribute Debugging in the Android Debug settings for this to work. Reviewed By: lblasa Differential Revision: D46933645 fbshipit-source-id: fbe2ddd50ef0e7917ef873959db5b3f35b833cf0 --- android/sample/AndroidManifest.xml | 9 ++++++ android/sample/build.gradle | 30 +++++++++++++++---- .../flipper/sample/FlipperInitializer.java | 2 ++ .../flipper/sample/JetpackComposeActivity.kt | 30 +++++++++++++++++++ .../flipper/sample/RootComponentSpec.java | 15 +++++++++- 5 files changed, 80 insertions(+), 6 deletions(-) create mode 100644 android/sample/src/main/java/com/facebook/flipper/sample/JetpackComposeActivity.kt diff --git a/android/sample/AndroidManifest.xml b/android/sample/AndroidManifest.xml index 5b6b0df3e..54f0a453d 100644 --- a/android/sample/AndroidManifest.xml +++ b/android/sample/AndroidManifest.xml @@ -89,6 +89,15 @@ + + + + + + + +