I'm getting the images from server. I don't know how many number of images come from server when i request for images. After getting the images i want to display them in Grid View with 3 columns for each row as shown in the below figure. So here the columns are fixed (3). The rows should be changed based on the number of images.
Could you please tell me how to do that in windows phone 8.
One possibility could be to use a LongListSelector and set the LayoutMode to Grid.
Then you would set the GridCellSize in such a way that only 3 images show up per row (ex. If the screen has width 480 set GridCellSize to 160x160 for 3 square images on each row.)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With