Add caching of spannable text objects

Summary: This diff adds support to cache the Spannable objects that are created during measure() and updateLocalData() for text

Reviewed By: shergin

Differential Revision: D13188599

fbshipit-source-id: 6547d8ce2bb8b1dfb3c91e64facff3ba0cd97472
This commit is contained in:
David Vacca authored and Facebook Github Bot committed 2018-11-25 17:21:00 -08:00
1 parent 3be2816aec
commit f341795824
3 files changed
+54 -33

No files matched your search

@@ -215,7 +215,6 @@ public abstract class ViewManager<T extends View, C extends ReactShadowNode>
public long measure(
ReactContext context,
T view,
ReadableNativeMap localData,
ReadableNativeMap props,
float width,