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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

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

Thread ID:

Created:

Updated:

Platform:

Replies:

128355 Jan 16,2017 07:46 PM UTC Jan 18,2017 01:40 AM UTC Xamarin.Forms 1
loading
Tags: SfListView
K Guptha
Asked On January 16, 2017 07:46 PM UTC

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.

Pannir Selvam S [Syncfusion]
Replied On 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. 

Regards, 
Pannir 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;