We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

how to pass the event arguments and how to set event name in sfListView ?

hi, I just started using sfListView. I want to pass the listview arguments to another page in xamarin forms.
my sfListview contains the album name and image, when I click/tap on that item on sfListView it should navigate to another page which displays all the songs from that selected album Viewmodel.
I didn't find any eventname , eventarguments properties.

Could you please help me with this, how to solve this.

1 Reply

PS Pannir Selvam S Syncfusion Team January 18, 2017 01:40 AM UTC

Hi Sravan, 

Thanks for using Syncfusion products. 

You can achieve your requirement by handling ItemTapped event of the SfListView and you can get the ItemData of tapped item from the ItemTappedEventArgs. Then you can navigate to another SfListView with these details. We have prepared a sample related to this which will update the ItemsSource of another SfListView based on the tapped item of first SfListView. You can download the sample from below location. 

Please let us know if you have any queries. 


Live Chat Icon For mobile
Up arrow icon