Can suggest a 3 grid photo gallery

Hi i am new to xamarin and i am building an app that is similar to the photo gallery. I am finding for a sample that I can use where the photo gallery will be 3 columns with infinity number of rows. A new grid will create when a new image is added to the database which i will take from a website using JSON. I hope there is a template or sample that i can use to accomplish this photo gallery part.
Thank you

Answers

  • JadenNxJadenNx NZMember ✭✭
    edited January 2018

    Just use FlowListView

    github.com/daniel-luberda/DLToolkit.Forms.Controls/tree/master/FlowListView

    <flv:FlowListView FlowColumnCount="3" SeparatorVisibility="None" HasUnevenRows="false"
        FlowItemTappedCommand="{Binding ItemTappedCommand}" FlowLastTappedItem="{Binding LastTappedItem}"
        FlowItemsSource="{Binding Items}" >
    
        <flv:FlowListView.FlowColumnTemplate>
            <DataTemplate>
                <Image Source="{Binding ImageUrl}" HeightRequest="50" Aspect="AspectFill"></Image>
            </DataTemplate>
        </flv:FlowListView.FlowColumnTemplate>
    
    </flv:FlowListView>
    
Sign In or Register to comment.