How am I supposed to be able to create a chessboard written in xaml with Xamarin.Forms? I have done it in WPF with a ListBox and UniformGrid which I bound to a list of 64 squares, really easy. But when I try to do it with Xamarin.Forms I face two problems.
First problem is that Xamarin.Forms only has a ListView, which can only stack elements horizontally, so I can't find a way to use databinding to a C#-list (or two-dimensional array or whatever).
The second problem is to get perfect squares for the board at the same time as the board fills the whole screen width. To fill the whole screen horizontally is easy with a Grid, but it doesn't seem to exist a smart way to set the height of the board to be equal to the screen width. I could maybe fix it with squared images, but I would want to use frames for styling purposes.
Is these problems solvable with Xamarin.Forms? I would preferably like to design the board in xaml rather than in the code behind. But maybe I have to generate the board with code?