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: 366
Registered: ‎07-15-2013
My Device: blackberry Z10
My Carrier: Personal

Search on a ListView

Hi all, I was making an app, which contains a list of internet, and I want this app, you can find something that specifies the user looking at this list
How can i do this?
Here is where I want to do



If you find this information useful please click like --->
@mezeitune on twitter
Posts: 713
Registered: ‎05-31-2010
My Device: 8520
My Carrier: Movistar

Re: Search on a ListView

The general idea is look for the item in the model and then update the listview. You can use two approaches to do this:
1) Look for the item in your model and set as root path in your listview the indexpath of the item found
2) Create a new model with the data found and assign it to the listview


Check the Call Piizza sample (http://blackberry.github.io/Cascades-Samples/callapizza.html)