Welcome!

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

Adobe AIR Development

Reply
New Contributor
Posts: 9
Registered: ‎11-10-2010
My Device: Not Specified

Large dropdown list question...2000 items

I need to hold a list of airports 2200 for all of them. A dropdown may not be a good fit. Can it hold 2200 items?

 

Also i thought about a popuplist item, but i can't get it to appear. it opens and exits the application. Any ideas of how i could make these items availaible for the user to pick?

 

I also thought about an autocomplete box, but it would have to be a hack using some events and search functions.

 

Any ideas on how i could implement one of these?

More videos and my experiences with Playbook here: http://playbook.kraftworkgames.com/
New Contributor
Posts: 9
Registered: ‎11-10-2010
My Device: Not Specified

Re: Large dropdown list question...2000 items

The 2200 list items is not possible nor is it memory friendly. The data slows down the application when used in this this manner and it doesn't scroll.

 

So the only two i would think could work would be a popuplist which i can't figure out how to use.

 

or an autocomplete list.

More videos and my experiences with Playbook here: http://playbook.kraftworkgames.com/
Highlighted
New Contributor
Posts: 9
Registered: ‎11-10-2010
My Device: Not Specified

Re: Large dropdown list question...2000 items

Ok, so i figured out how to do a partial filtering thing when the user clicks the search button, but there are usually one or more airports matching the letters. That means i need to use the popuplist to tell the user there are more the one returns.

 

 

Has anyone figured out how to use the popuplist yet?

More videos and my experiences with Playbook here: http://playbook.kraftworkgames.com/
Developer
Posts: 107
Registered: ‎11-20-2009
My Device: Tegra 2 Android tablet and Playbook
My Carrier: Rogers

Re: Large dropdown list question...2000 items

What is popuplist?

http://riahut.com
Developer
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: Large dropdown list question...2000 items

Like a drop down list of choices.  Like that from a ComboBox or pop-up menu.  It inherits from base Diaglog class so that it can be placed independently from the current view's layout.