Allow View containers to specify custom measure functions#5148
Allow View containers to specify custom measure functions#5148obipawan wants to merge 1 commit intofacebook:masterfrom
Conversation
…e in ViewGroupManager
|
Hey @obipawan, what's the motivation for this? |
|
Hey @mkonicek |
|
Why can you not provide a custom LayoutShadowNode by extending ViewGroupManager? |
|
I don't see this change being necessary to support the use case you're describing. If you want your view group manager to use custom class as a shadow node you can simply override |
|
Hey @kmagiera It's possible to override |
|
@obipawan Are you sure that is the case here? The return type on |
This PR allows
ViewManagersthat are containers (extendingViewGroupManager) to specify it's customCSSNode.MeasureFunction.ViewManagersthat don't need to specify this can extendSimpleViewGroupManagerinstead