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

Nested grids performance / BoxView border

$
0
0

Hello!
I got a page with a grid which contains oneimage and another grid which is divided into 5x6. In each cell i got another grid and a boxview. The reason for the need of another grid in each cell, is to get borders around the boxviews(setting the background of the grid to Black and padding 1). As you understand there is some nested grids to achieve this. Each boxview got a TapGestureRecognizer so the user can, after completing a task, chose which cell he wants to see. (a bit like a puzzels). The problem is the performance, ecspecially on Android it takes about 1.5-2 seconds to generate the page. If i remove the border of the boxviews(which means removing many of the grids), the performance is dramatically increased and it takes just some milliseconds to generate the page.

So my question(I got XF 1.3.1.6296):
Is there a way to increase performance of nested grids?
Or anyone got other ideas to achieve this which doesnt include so many grids.

On the picture, the right image is where the performance i bad because of the grids forming borders around the boxviews.


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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