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

Are DataTemplates supposed to be so slow?

$
0
0

I am loading a DataTemplate on the fly when the user performs an action. Problem for me is I have what could be up to 100's of different templates based on different objects. These could be small templates with say only 8 different input controls, so not large.

The problem comes up that it takes 5 seconds for them to show on the screen. When I create the views from the templates at the begining of the application then the actions to view the view work immediately. Is it supposed to be that slow?

Thanks!
Brad

EDIT: I wanted to say that Activator.CreateInstance is slow as well on the view. Anyways around this?


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>