Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Posts: 44
Registered: ‎02-11-2013
My Device: Z10
My Carrier: TELE2

How to get/add/remove items from ListView?

Hello, i don't undestand how to get/add/remove items dynamically from ListView using QML.

Thanks for any help.

Posts: 252
Registered: ‎08-17-2012
My Device: BlackBerry Z10 and Q10
My Carrier: Bell

Re: How to get/add/remove items from ListView?

[ Edited ]

Hi soulgen, you should get/add/remove items from the data model associated with the ListView and not from the ListView itself. For more information on how to do this check the address book sample on Github for e.g.



Did this answer your question? Please accept post as solution.
Please refrain from posting new questions in solved threads.
Found a bug? Report it using the Issue Tracker