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

Native Development

Reply
Developer
Posts: 154
Registered: ‎02-01-2009
My Device: Torch, PlayBook and Dev Alpha
My Carrier: SFR
Accepted Solution

ListView - multiselect works only for StandardListItem

Hi,

 

In waiting, that ListView object are less contraingnant to use ; I have modified my UI to work as the BucketList app sample.

 

But, I have an other issue Smiley Sad

 

I use a GridListLayout (as Stamp Collector app sample) and my ListItem is a custom Container instead of StandardListItem.

 

Unfortunately multiselect handler works only with StandardListItem Smiley Sad

 

In my case, the context menu stays empty !

 

 

Is RIM able to provide a sample from Stamp Collector with GridListLayout ? and multi select handler / context menu working ? and highlight stamps items function working in multi select mode ?

 

 

Nicolas

 

Retired
Posts: 155
Registered: ‎07-16-2012
My Device: Dev Alpha
My Carrier: Bell

Re: ListView - multiselect works only for StandardListItem

Hi nicklas,

 

May I ask you something? How did you set your ListItem? Even the GridListLayout, how many columns? The reason I'm asking you that is, I got it reproducing it yesterday but while investigating another ListView question, I got it working now.

 

Thanks in advance,

Developer
Posts: 154
Registered: ‎02-01-2009
My Device: Torch, PlayBook and Dev Alpha
My Carrier: SFR

Re: ListView - multiselect works only for StandardListItem

So I have started from scratch and now it's OK.

 

I have founded the mistake...

 

I have attached a test project... it's built from stampCollector sample.

 

I have still a little issue ; the DeleteItem isn't visible in MultiSelect mode Smiley Sad

 

Also you can easily that if column and row are small, you can't select item in the grid when the multimode is enabled Smiley Sad

 

Nicolas

 

Developer
Posts: 154
Registered: ‎02-01-2009
My Device: Torch, PlayBook and Dev Alpha
My Carrier: SFR

Re: ListView - multiselect works only for StandardListItem

I can add that in the BucketList sample, I have the same issue.

Nicolas
Retired
Posts: 155
Registered: ‎07-16-2012
My Device: Dev Alpha
My Carrier: Bell

Re: ListView - multiselect works only for StandardListItem

Indeed, the DeleteActionItem is not visible while in Multi Select Mode. I also tested that, doesn`t matter if it is set with GridListLayout or not, and even setting deleteAction.enabled.

 

I've raised a public issue for this, https://www.blackberry.com/jira/browse/BBTEN-173 so, please vote for it when you get a chance.

 

Cheers,