mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Send ReactNative C++ State to Android measure API
Summary: The `measure` API receives LocalData and Props, it should also receive State. This will also be used in future diffs. Reviewed By: mdvacca Differential Revision: D15325182 fbshipit-source-id: 6cb46dd603ce7d46673def16f0ddb517e2cf0c4f
This commit is contained in:
1 parent
c35d1af6fa
commit
04782ff57a
7 files changed
+11
-1
No files matched your search
@@ -36,6 +36,7 @@ Size TextLayoutManager::measure(
|
||||
jstring,
|
||||
ReadableMap::javaobject,
|
||||
ReadableMap::javaobject,
|
||||
ReadableMap::javaobject,
|
||||
jfloat,
|
||||
jfloat,
|
||||
jfloat,
|
||||
@@ -59,6 +60,7 @@ Size TextLayoutManager::measure(
|
||||
componentName.get(),
|
||||
attributedStringRM.get(),
|
||||
paragraphAttributesRM.get(),
|
||||
nullptr,
|
||||
minimumSize.width,
|
||||
maximumSize.width,
|
||||
minimumSize.height,
|
||||
|
||||
Reference in new issue
Block a user