Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 89864

Compile XAML to C#

$
0
0

Hi!
What options do I have for compiling XAML to C# code? Unfortunately but InitializeComponent consumes too much time. I have managed to hack creating of new controls on different thread so that InitializeComponents and XAML parsing is not invoked from GUI thread, but it still is too slow.

I would like to precompile XAML in Release mode.

I feel that Xamarin team has this compiler, since Xamarin does parsing of XAML during runtime. Could I get hold of this tool to compile my XAMLS?

To demonstrate my issue here is small video -
image

as you can see - it is not animation but Forms that take unreasonable time to create list components... :(

Sincerely,
Reinis


Viewing all articles
Browse latest Browse all 89864

Trending Articles