Pax*_*rce 7 performance xamarin xamarin.forms
考虑到性能- 网格和嵌套堆栈布局之间的最佳点在哪里?
StackLayout 有多少层“嵌套”才能使 Grid 的使用更加高效?
下面的示例(3 层 StackLayout 嵌套)是一种好的做法,还是应该使用 Grid 来代替?
<StackLayout>
<StackLayout>
<StackLayout>
<Label>...text...</Label>
</StackLayout>
<StackLayout>
<Label>...text...</Label>
</StackLayout>
</StackLayout>
<StackLayout>
<StackLayout>
<Label>...text...</Label>
</StackLayout>
<StackLayout>
<Label>...text...</Label>
</StackLayout>
</StackLayout>
</StackLayout>
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
6910 次 |
| 最近记录: |