----------------------------------------------------------feel free to press the like button on the right side to thank the user that helped you.please mark posts as solved if you found a solution.@SimonHain on twitter

Re: How to get CustomListItem in ListView ?

----------------------------------------------------------feel free to press the like button on the right side to thank the user that helped you.please mark posts as solved if you found a solution.@SimonHain on twitter

Re: How to get CustomListItem in ListView ?

if you call the delete action while a SongItem object is selected ListItemData will be a SongItem object.

If you click on it onTriggered will be called with the indexPath of a SongItem object in the dataModel.Calling dataModel.data with the indexPath will return the SongItem object.

In either way you will have the SongItem object. All good?

----------------------------------------------------------feel free to press the like button on the right side to thank the user that helped you.please mark posts as solved if you found a solution.@SimonHain on twitter

in any case, songItem is of type SongItem, you can access its properties.if you call songItem.label = "my new label" the label property (given it exists) will be set accordingly.

----------------------------------------------------------feel free to press the like button on the right side to thank the user that helped you.please mark posts as solved if you found a solution.@SimonHain on twitter

Re: How to get CustomListItem in ListView ?

as i do not know what properties your object has i just used an invented property (label). you should probably use one that really exists in your code...

----------------------------------------------------------feel free to press the like button on the right side to thank the user that helped you.please mark posts as solved if you found a solution.@SimonHain on twitter