Uh oh!
There was an error while loading. Please reload this page.
Allow View containers to specify custom measure functions - #5148
Conversation
…e in ViewGroupManager
facebook-github-bot
commented
Jan 6, 2016
mkonicek
commented
Jan 6, 2016
Hey @obipawan, what's the motivation for this? |
obipawan
commented
Jan 6, 2016
Hey @mkonicek |
mkonicek
commented
Jan 6, 2016
astreet
commented
Jan 6, 2016
Why can you not provide a custom LayoutShadowNode by extending ViewGroupManager? |
kmagiera
commented
Jan 6, 2016
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 |
obipawan
commented
Jan 6, 2016
Hey @kmagiera It's possible to override |
kmagiera
commented
Jan 6, 2016
@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