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

Complex Layouts

$
0
0

hey guys,

i built a complex XAML based UI with a lot of custom controls (like android material card design). a card is a structured like this:
RelativeLayout -> StackLayout (Title with Icons) and Custom View (in most cases a grid with table like data, each "row" consists of at least one describing label and a data view like another label or stacklayout with entry and button or something like this)

the main layout consists of:
ScrollView (if needed) -> Grid (with two columns) -> two StackLayouts (each column one, left and right).
each StackLayout uses the cards, which are described above.

if i use push async to switch the page, there is a huge delay of 2.5 - 3 seconds (on IPad 3rd generation). there is just the initialization of the XAML file and the assignment of a viewmodel. no binding at the moment, no animation.... i tried to load the XAML async, so there isn't a blocking UI, but the indicator is still running the mentioned time.

is the described layout to heavy? can i do something to improve performance? i am using XF 1.3 Pre-Release nuget lib, iOS 8.1

thanks!


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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