This commit is contained in:
Javier Suárez Ruiz 2019-11-17 19:14:03 +01:00
Родитель c8c2991e3a
Коммит ecf240f5c7
2 изменённых файлов: 14 добавлений и 4 удалений

Просмотреть файл

@ -52,7 +52,7 @@ And we use it:
``` ```
<Slider <Slider
ControlTemplate="{StaticResource CustomSliderTemplate}"/> Template="{StaticResource CustomSliderTemplate}"/>
``` ```
The result: The result:
@ -61,4 +61,14 @@ The result:
We can use XAML Hot Reload to adjust the appearance: We can use XAML Hot Reload to adjust the appearance:
![Using XAML Hot Reload](images/xamarinforms-edit-controltemplate.gif) ![Using XAML Hot Reload](images/xamarinforms-edit-controltemplate.gif)
Some **performance** related data (using Android):
Memory
* 127545344 (121MB) - Slider
* 127246336 (121MB) - Slider (Composite)
Startup time (Release AOT)
* 797ms - Slider
* 801ms - Slider (Composite)

Просмотреть файл

@ -13,8 +13,8 @@ namespace Xamarin.Forms.Composite
{ {
InitializeComponent(); InitializeComponent();
MainPage = new TestCompositeView(); //MainPage = new TestCompositeView();
//MainPage = new TestCompositePerfView(); MainPage = new TestCompositePerfView();
} }
protected override void OnStart() protected override void OnStart()