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

Java Development

Reply
Developer
Posts: 528
Registered: ‎10-06-2009
My Device: 9800,BB Dev Alpha,z10 limited edition
My Carrier: Vodafone

Collapse list after selecting text from autocompleteeditfield

Hi,

I'm using autocompleteeditfield.I'm getting selected text using

 

public void onSelect(Object selection, int type) {
// super.onSelect(selection, type);
if(selection != null) {
if(type==SELECT_ENTER){
String selectionAsString = getEditField().getText();
bfrSearchWord.append(selectionAsString);
setData(searchData());}


}
super.onSelect(selection, type);
}

 

But the list data(from filterlist ) are still there,how to collapse that list when a text is selected from autocompleteeditfield.

Rujuta Trivedi
Developer
Posts: 528
Registered: ‎10-06-2009
My Device: 9800,BB Dev Alpha,z10 limited edition
My Carrier: Vodafone

Re: Collapse list after selecting text from autocompleteeditfield

[ Edited ]

Can anybody help??

Rujuta Trivedi
Developer
Posts: 528
Registered: ‎10-06-2009
My Device: 9800,BB Dev Alpha,z10 limited edition
My Carrier: Vodafone

Re: Collapse list after selecting text from autocompleteeditfield

Can anybody give a solution how to supress that list?its bit urgent

Rujuta Trivedi