Updated README
This commit is contained in:
Родитель
c8c2991e3a
Коммит
ecf240f5c7
14
README.md
14
README.md
|
@ -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()
|
||||||
|
|
Загрузка…
Ссылка в новой задаче