We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
看sample不太清楚应该何时调用wrapContent这个方法?
wrapContent
对比了一下YogaKit,它是rootView调用applyLayout时调用YGNodeSetMeasureFunc的,相对统一明确。
YogaKit
applyLayout
YGNodeSetMeasureFunc
另外,它重写了intrinsicSize方法,是否也可以参考加入一下?
intrinsicSize
The text was updated successfully, but these errors were encountered:
在applyLayout 之前调用,跟布局类似,当做一个样式即可
Sorry, something went wrong.
就是所有view都保证调用一次就好?那是不是可以设计成在fb_makeLayout 结尾自动调用一下?
fb_makeLayout
自动调用可能对label这种比较合适
No branches or pull requests
看sample不太清楚应该何时调用
wrapContent
这个方法?对比了一下
YogaKit
,它是rootView调用applyLayout
时调用YGNodeSetMeasureFunc
的,相对统一明确。另外,它重写了
intrinsicSize
方法,是否也可以参考加入一下?The text was updated successfully, but these errors were encountered: