Change Label Text like quantity increase or decrease button inside list view

Vish_TankVish_Tank Member ✭✭
edited February 8 in General
<ListView x:Name="listView" >
<ListView.ItemTemplate>
<DataTemplate>
<ViewCell>
<StackLayout>
<Button Text="-" />
<Label Text="{Binding qty}" FontSize="Medium" />
<Button Text="+" />
</StackLayout>

</ViewCell>
</DataTemplate>
</ListView.ItemTemplate>
</ListView>

Answers

  • JamesLaveryJamesLavery GBBeta, University ✭✭✭✭✭

    Do you want to use Xamarin.Forms or Xamarin.Android/Xamarin.iOS?

    Which part of the implementation is causing you problems?

  • Vish_TankVish_Tank Member ✭✭

    I am using Xamarin.Android
    and I will developing add to cart quantity.

  • faisalfarooqfaisalfarooq USMember ✭✭

    its very Simple..

    onCLickeventbutton
    place this code

    Runonuithread(()=>{ Label.text="qunatitycount" ; Task.delay(1); })

Sign In or Register to comment.